import { CheckAuth } from "./context/revoltjs/CheckAuth"; import { Route, Switch } from "react-router-dom"; import Context from "./context"; import { Login } from "./pages/login/Login"; import { useForceUpdate, useSelf, useUser } from "./context/revoltjs/hooks"; function Test() { const ctx = useForceUpdate(); let self = useSelf(ctx); let bree = useUser('01EZZJ98RM1YVB1FW9FG221CAN', ctx); return (

logged in as { self?.username }

bree: { JSON.stringify(bree) }

) } export function App() { return ( ); }