refactor(app conditional cleanup): remove unnecessary else statement

pull/8/head
Alexander Zoitos 4 years ago
parent f9b174c311
commit e61d9a767f

@ -8,7 +8,7 @@ class CoreApp extends App {
const { Component, pageProps, router } = this.props;
if (router.asPath === '/login') {
return <Component {...pageProps} />;
} else {
}
return (
<Layout>
<Component {...pageProps} />
@ -16,6 +16,5 @@ class CoreApp extends App {
);
}
}
}
export default CoreApp;

Loading…
Cancel
Save