feat: add check for getText === true

This commit is contained in:
karishmas6
2024-07-26 02:23:52 +05:30
parent 0956a1df2a
commit 5d23c4cf6a

View File

@@ -95,7 +95,7 @@ export const BrowserWindow = () => {
return ( return (
<div onClick={handleClick}> <div onClick={handleClick}>
{ {
getText && showConfirmation ? ( getText === true && showConfirmation ? (
<GenericModal <GenericModal
isOpen={showConfirmation} isOpen={showConfirmation}
onClose={() => setShowConfirmation(false)} onClose={() => setShowConfirmation(false)}