diff options
Diffstat (limited to 'src/pages/404.js')
-rw-r--r-- | src/pages/404.js | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/src/pages/404.js b/src/pages/404.js index 9026548..17be31e 100644 --- a/src/pages/404.js +++ b/src/pages/404.js @@ -1,3 +1,23 @@ -export default function FoHunnid() { - return <h1>this page should be a fallback - something went wrong rip</h1> -}
\ No newline at end of file +import React, { useContext } from 'react'; +import { AuthContext } from '../providers/AuthContext'; +import GridLayout from '../layouts/GridLayout'; + +const FoHunnid = () => { + const { user } = useContext(AuthContext); + + return ( + <> + {!user ? ( + <h1>fo-hunnid</h1> + ) : ( + <GridLayout> + <> + fo-hunnid + </> + </GridLayout> + )} + </> + ); +}; + +export default FoHunnid;
\ No newline at end of file |