Restore normalizedEmail variable used in JSX
cgen-daece958d24546188b69408b349e6d7b
This commit is contained in:
parent
2e4ea28bcf
commit
c3a7086906
1 changed files with 1 additions and 0 deletions
|
|
@ -59,6 +59,7 @@ import {
|
|||
export default function Admin() {
|
||||
const { user, loading } = useAuth();
|
||||
const navigate = useNavigate();
|
||||
const normalizedEmail = user?.email?.toLowerCase() ?? "";
|
||||
|
||||
// Redirect to login if not authenticated
|
||||
useEffect(() => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue