const db = globalThis.__B44_DB__ || { auth:{ isAuthenticated: async()=>false, me: async()=>null }, entities:new Proxy({}, { get:()=>({ filter:async()=>[], get:async()=>null, create:async()=>({}), update:async()=>({}), delete:async()=>({}) }) }), integrations:{ Core:{ UploadFile:async()=>({ file_url:'' }) } } }; import { useLocation } from 'react-router-dom'; import { useQuery } from '@tanstack/react-query'; export default function PageNotFound({}) { const location = useLocation(); const pageName = location.pathname.substring(1); const { data: authData, isFetched } = useQuery({ queryKey: ['user'], queryFn: async () => { try { const user = await db.auth.me(); return { user, isAuthenticated: true }; } catch (error) { return { user: null, isAuthenticated: false }; } } }); return (
The page "{pageName}" could not be found in this application.
Admin Note
This could mean that the AI hasn't implemented this page yet. Ask it to implement it in the chat.