chore: lint
This commit is contained in:
@@ -14,7 +14,7 @@ interface RightSidePanelProps {
|
|||||||
pairForEdit: PairForEdit;
|
pairForEdit: PairForEdit;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const RightSidePanel = ({pairForEdit}: 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>('');
|
||||||
@@ -75,15 +75,19 @@ export const RightSidePanel = ({pairForEdit}: RightSidePanelProps) => {
|
|||||||
</ActionTypeWrapper>
|
</ActionTypeWrapper>
|
||||||
|
|
||||||
{isSettingsDisplayed &&
|
{isSettingsDisplayed &&
|
||||||
<ActionSettings action={action}/>
|
<ActionSettings action={action} />
|
||||||
}
|
}
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
)
|
)
|
||||||
: null
|
: null
|
||||||
}
|
}
|
||||||
|
|
||||||
<Button variant="contained" onClick={handleGetText}>Capture Text</Button>
|
<Button variant="contained" onClick={handleGetText}>
|
||||||
<Button variant="contained" onClick={handleGetScreenshot}>Capture Screenshot</Button>
|
Capture Text
|
||||||
|
</Button>
|
||||||
|
<Button variant="contained" onClick={handleGetScreenshot}>
|
||||||
|
Capture Screenshot
|
||||||
|
</Button>
|
||||||
</Paper>
|
</Paper>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user