fix: correct spelling for is_admin
This commit is contained in:
@ -32,7 +32,7 @@ const AdminLayout: FC = () => {
|
||||
</div>;
|
||||
}
|
||||
|
||||
if (!profile?.isAdmin) {
|
||||
if (!profile?.is_admin) {
|
||||
return <Navigate to="/not-allowed" />;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user