From 6dd9931c344cd41b179d71d9878cb040f745d03a Mon Sep 17 00:00:00 2001 From: Florin Dzeladini Date: Thu, 21 Nov 2024 10:31:05 +0100 Subject: [PATCH] chore: lint --- .../ui/organism/MinVersionModal/MinVersionModal.view.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/wallet-ui/src/components/ui/organism/MinVersionModal/MinVersionModal.view.tsx b/packages/wallet-ui/src/components/ui/organism/MinVersionModal/MinVersionModal.view.tsx index 81f290c3..7d2dc3a8 100644 --- a/packages/wallet-ui/src/components/ui/organism/MinVersionModal/MinVersionModal.view.tsx +++ b/packages/wallet-ui/src/components/ui/organism/MinVersionModal/MinVersionModal.view.tsx @@ -12,8 +12,7 @@ import { ConnectButton } from '../ConnectModal/ConnectModal.style'; export const MinVersionModalView = () => { const { metaMaskUpgradeRequired } = useHasMetamask(); const handleUpdateMetaMask = () => { - const newWindow = window.open('https://metamask.io', '_blank', 'noopener,noreferrer'); - if (newWindow) newWindow.focus(); + window.open('https://metamask.io', '_blank')?.focus(); }; return (