feat: use side panel header
This commit is contained in:
@@ -11,6 +11,7 @@ import { useBrowserSteps } from '../../context/browserSteps';
|
|||||||
import { useSocketStore } from '../../context/socket';
|
import { useSocketStore } from '../../context/socket';
|
||||||
import { ScreenshotSettings } from '../../shared/types';
|
import { ScreenshotSettings } from '../../shared/types';
|
||||||
import InputAdornment from '@mui/material/InputAdornment';
|
import InputAdornment from '@mui/material/InputAdornment';
|
||||||
|
import { SidePanelHeader } from '../molecules/SidePanelHeader';
|
||||||
|
|
||||||
// TODO:
|
// TODO:
|
||||||
// 1. Handle field label update
|
// 1. Handle field label update
|
||||||
@@ -187,6 +188,8 @@ export const RightSidePanel = () => {
|
|||||||
<Typography sx={{ padding: '10px' }}>Last action: {` ${lastAction}`}</Typography>
|
<Typography sx={{ padding: '10px' }}>Last action: {` ${lastAction}`}</Typography>
|
||||||
</SimpleBox>
|
</SimpleBox>
|
||||||
|
|
||||||
|
<SidePanelHeader />
|
||||||
|
|
||||||
<Box display="flex" flexDirection="column" gap={2} style={{ margin: '15px' }}>
|
<Box display="flex" flexDirection="column" gap={2} style={{ margin: '15px' }}>
|
||||||
{!getText && !getScreenshot && !getList && <Button variant="contained" onClick={startGetList}>Capture List</Button>}
|
{!getText && !getScreenshot && !getList && <Button variant="contained" onClick={startGetList}>Capture List</Button>}
|
||||||
{getList &&
|
{getList &&
|
||||||
|
|||||||
Reference in New Issue
Block a user