mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-13 21:00:06 +01:00
feat: adding background jobs ui page and apis - requires user is_admin to be set to true
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user