Create ValidationErrorPage
This commit is contained in:
1 parent
ddd0180933
commit
3051a0b2ca
4 files changed
+61
No files matched your search
@@ -13,6 +13,7 @@ function Layout(){
|
||||
|
||||
if (loading) return <p>Loading</p>;
|
||||
if (!user) return <Navigate to="/login" />;
|
||||
if(user && user.validate === 0) return <Navigate to="/error/validation" />;
|
||||
|
||||
return (
|
||||
<div>
|
||||
|
||||
Reference in new issue
Block a user