feat: adding background jobs ui page and apis - requires user is_admin to be set to true

This commit is contained in:
allanice001
2025-11-04 23:52:37 +00:00
parent 91686c1ea4
commit c41af60b26
97 changed files with 11135 additions and 138 deletions

View File

@@ -1,6 +1,7 @@
import { useAuth } from "@/auth/use-auth.ts"
import { Navigate, Outlet, useLocation } from "react-router-dom"
import { useAuth } from "@/hooks/use-auth.ts"
export const ProtectedRoute = () => {
const { authed } = useAuth()
const loc = useLocation()