Redirect when signed in and going to sign in page.

This commit is contained in:
Patrick Fic
2019-12-06 19:19:22 -08:00
parent 3d6bafe436
commit 570f2549da
13 changed files with 63 additions and 33 deletions

View File

@@ -27,6 +27,7 @@ const HeaderContainer = ({ landingHeader }) => {
if (loading) return <Spin />;
if (error) return <Alert message={error.message} />;
const parsedNavItems = JSON.parse(data.masterdata_by_pk.value);
console.log("::1", landingHeader);
return (
<Header
selectedNavItem={selectedNavItem}