(feat): move call context to zustand
(feat): add actions, basic call page
This commit is contained in:
parent
d01df7c02c
commit
413764f33e
17 changed files with 673 additions and 382 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import { useCall } from "../context";
|
||||
import { useCall } from "../store";
|
||||
|
||||
export default function Preview() {
|
||||
const { currentCallData } = useCall();
|
||||
const currentCallData = useCall((state) => state.currentCallData);
|
||||
|
||||
return <div>Preview View {JSON.stringify(currentCallData?.users)}</div>;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue