fix: rm changeBrowserDimension prop
This commit is contained in:
@@ -10,6 +10,7 @@ import { useBrowserDimensionsStore } from "../context/browserDimensions";
|
|||||||
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";
|
||||||
|
import styled from "styled-components";
|
||||||
|
|
||||||
interface RecordingPageProps {
|
interface RecordingPageProps {
|
||||||
recordingName?: string;
|
recordingName?: string;
|
||||||
@@ -106,22 +107,29 @@ export const RecordingPage = ({ recordingName }: RecordingPageProps) => {
|
|||||||
<div>
|
<div>
|
||||||
{isLoaded ?
|
{isLoaded ?
|
||||||
<Grid container direction="row" spacing={0}>
|
<Grid container direction="row" spacing={0}>
|
||||||
{/* <Grid item xs={2} ref={workflowListRef} style={{ display: "flex", flexDirection: "row" }}>
|
<Grid item xs={2} ref={workflowListRef} style={{ display: "flex", flexDirection: "row" }}>
|
||||||
<LeftSidePanel
|
<LeftSidePanel
|
||||||
sidePanelRef={workflowListRef.current}
|
sidePanelRef={workflowListRef.current}
|
||||||
alreadyHasScrollbar={hasScrollbar}
|
alreadyHasScrollbar={hasScrollbar}
|
||||||
recordingName={recordingName ? recordingName : ''}
|
recordingName={recordingName ? recordingName : ''}
|
||||||
handleSelectPairForEdit={handleSelectPairForEdit}
|
handleSelectPairForEdit={handleSelectPairForEdit}
|
||||||
/>
|
/>
|
||||||
</Grid> */}
|
</Grid>
|
||||||
<Grid id="browser-content" ref={browserContentRef} item xs>
|
<Grid id="browser-content" ref={browserContentRef} item xs>
|
||||||
<BrowserContent />
|
<BrowserContent />
|
||||||
</Grid>
|
</Grid>
|
||||||
{/* <Grid item xs={2}>
|
<Grid item xs={2}>
|
||||||
<RightSidePanel pairForEdit={pairForEdit} changeBrowserDimensions={changeBrowserDimensions}/>
|
<RightSidePanel pairForEdit={pairForEdit} />
|
||||||
</Grid> */}
|
</Grid>
|
||||||
</Grid>
|
</Grid>
|
||||||
: <Loader />}
|
: <Loader />}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const RecordingPageWrapper = styled.div`
|
||||||
|
position: relative;
|
||||||
|
width: 100vw;
|
||||||
|
height: 100vh;
|
||||||
|
overflow: hidden;
|
||||||
|
`;
|
||||||
Reference in New Issue
Block a user