refactor(app conditional cleanup): remove unnecessary else statement

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

@ -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;

Loading…
Cancel
Save