Something went wrong. Try again.
A self-hosted web platform for applications & services with design based on Google's Material 3 Expressive. (Work In Progress)
Something went wrong. Try again.
1234567891011121314import { type Accessor, createContext } from "solid-js";
const AppContext = createContext<{ isAdministrator: Accessor<boolean>; shootYourselfInTheFoot: Accessor<boolean>; setShootYourselfInTheFoot: (value: boolean) => void;}>({ isAdministrator: () => false, shootYourselfInTheFoot: () => false, setShootYourselfInTheFoot: () => {},});
export { AppContext };