walldash/src/contexts/AlwaysOnContext.tsx
cediackermann 0ba7e00311
chore: commit pending changes before monorepo submodule conversion
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 22:52:50 +02:00

4 lines
167 B
TypeScript

import { createContext, useContext } from "react";
export const AlwaysOnContext = createContext(false);
export const useAlwaysOn = () => useContext(AlwaysOnContext);