Created
June 1, 2021 04:05
-
-
Save lorenzejay/d07317069f78cd402bc882e33b1e729b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Build = () => { | |
const router = useRouter(); | |
const { session } = useContext(UserContext); | |
useEffect(() => { | |
if (!session) { | |
router.push("/signin"); | |
} | |
}, [session]); | |
return ( | |
<Layout mainBgColor=""> | |
<h3>Build Page</h3> | |
</Layout> | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment