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