(feat): move call context to zustand

(feat): add actions, basic call page
This commit is contained in:
Alois 2026-04-29 14:49:53 +02:00
commit 413764f33e
17 changed files with 673 additions and 382 deletions

View file

@ -1,4 +1,4 @@
import { useCall } from "./context";
import { useCall } from "./store";
import MainLayout from "./views/main/layout";
import MainGrid from "./views/main/grid";
@ -6,7 +6,7 @@ import MainFocused from "./views/main/focused";
import Preview from "./views/preview";
export default function Screen() {
const { view } = useCall();
const view = useCall((state) => state.view);
return view === "preview" ? (
<Preview />