test
This commit is contained in:
parent
e839327fe1
commit
8cf9fd5622
@ -37,12 +37,6 @@ const AdminUsersPage = () => {
|
|||||||
is_superuser: false,
|
is_superuser: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
useEffect(() => {
|
|
||||||
if (!currentUser) {
|
|
||||||
window.location.href = '/login';
|
|
||||||
}
|
|
||||||
}, [currentUser]);
|
|
||||||
|
|
||||||
const generateInviteLink = async () => {
|
const generateInviteLink = async () => {
|
||||||
try {
|
try {
|
||||||
setError('');
|
setError('');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user