feat: text or ss

This commit is contained in:
karishmas6
2024-07-25 01:01:26 +05:30
parent bc332e5518
commit f0c285eabc

View File

@@ -83,7 +83,7 @@ export const RightSidePanel = ({ pairForEdit }: RightSidePanelProps) => {
: null : null
} }
{!getText && ( {!getText && !getScreenshot && (
<Button variant="contained" onClick={startGetText}> <Button variant="contained" onClick={startGetText}>
Capture Text Capture Text
</Button> </Button>
@@ -94,7 +94,7 @@ export const RightSidePanel = ({ pairForEdit }: RightSidePanelProps) => {
</Button> </Button>
)} )}
{!getScreenshot && ( {!getText && !getScreenshot && (
<Button variant="contained" onClick={startGetScreenshot}> <Button variant="contained" onClick={startGetScreenshot}>
Capture Screenshot Capture Screenshot
</Button> </Button>