feat: wrap w ActionProvider
This commit is contained in:
@@ -7,6 +7,7 @@ import { RightSidePanel } from "../components/organisms/RightSidePanel";
|
|||||||
import { Loader } from "../components/atoms/Loader";
|
import { Loader } from "../components/atoms/Loader";
|
||||||
import { useSocketStore } from "../context/socket";
|
import { useSocketStore } from "../context/socket";
|
||||||
import { useBrowserDimensionsStore } from "../context/browserDimensions";
|
import { useBrowserDimensionsStore } from "../context/browserDimensions";
|
||||||
|
import { ActionProvider } from "../context/browserActions"
|
||||||
import { useGlobalInfoStore } from "../context/globalInfo";
|
import { useGlobalInfoStore } from "../context/globalInfo";
|
||||||
import { editRecordingFromStorage } from "../api/storage";
|
import { editRecordingFromStorage } from "../api/storage";
|
||||||
import { WhereWhatPair } from "@wbr-project/wbr-interpret";
|
import { WhereWhatPair } from "@wbr-project/wbr-interpret";
|
||||||
@@ -104,6 +105,7 @@ export const RecordingPage = ({ recordingName }: RecordingPageProps) => {
|
|||||||
}, [socket, handleLoaded]);
|
}, [socket, handleLoaded]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
<ActionProvider>
|
||||||
<div>
|
<div>
|
||||||
{isLoaded ?
|
{isLoaded ?
|
||||||
<Grid container direction="row" spacing={0}>
|
<Grid container direction="row" spacing={0}>
|
||||||
@@ -124,6 +126,7 @@ export const RecordingPage = ({ recordingName }: RecordingPageProps) => {
|
|||||||
</Grid>
|
</Grid>
|
||||||
: <Loader />}
|
: <Loader />}
|
||||||
</div>
|
</div>
|
||||||
|
</ActionProvider>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user