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