[FIX] 404 page wouldn't load when not given params
This commit is contained in:
@@ -25,7 +25,7 @@ export default function PageNotFound(props) {
|
|||||||
}, [page]);
|
}, [page]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
!page.loaded
|
(typeof page === "undefined" || !page.loaded)
|
||||||
?
|
?
|
||||||
<div>
|
<div>
|
||||||
<NavBar items={navbarItems}/>
|
<NavBar items={navbarItems}/>
|
||||||
|
|||||||
Reference in New Issue
Block a user