Move auth and timezone hooks into dedicated hook files

This commit is contained in:
2026-04-18 20:35:28 +02:00
parent d9550ae4aa
commit fba7675eb8
8 changed files with 40 additions and 49 deletions

View File

@@ -7,7 +7,7 @@
*/
import { Navigate, useLocation } from "react-router-dom";
import { useAuth } from "../providers/AuthProvider";
import { useAuth } from "../hooks/useAuth";
interface RequireAuthProps {
/** The protected page content to render when authenticated. */