feat: rm resize browser

This commit is contained in:
karishmas6
2024-07-13 23:02:05 +05:30
parent 2b9adacc96
commit a0606f5766

View File

@@ -11,10 +11,9 @@ import { PairForEdit } from "../../pages/RecordingPage";
interface RightSidePanelProps { interface RightSidePanelProps {
pairForEdit: PairForEdit; pairForEdit: PairForEdit;
changeBrowserDimensions: () => void;
} }
export const RightSidePanel = ({pairForEdit, changeBrowserDimensions}: RightSidePanelProps) => { export const RightSidePanel = ({pairForEdit}: RightSidePanelProps) => {
const [content, setContent] = useState<string>('action'); const [content, setContent] = useState<string>('action');
const [action, setAction] = React.useState<string>(''); const [action, setAction] = React.useState<string>('');
@@ -47,9 +46,6 @@ export const RightSidePanel = ({pairForEdit, changeBrowserDimensions}: RightSide
backgroundColor: 'white', backgroundColor: 'white',
alignItems: "center", alignItems: "center",
}}> }}>
<Button onClick={() => {
changeBrowserDimensions();
}}>resize browser</Button>
<SimpleBox height={60} width='100%' background='lightGray' radius='0%'> <SimpleBox height={60} width='100%' background='lightGray' radius='0%'>
<Typography sx={{ padding: '10px' }}> <Typography sx={{ padding: '10px' }}>
Last action: Last action: