Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
khanti42 committed Nov 21, 2024
1 parent 071083c commit 6dd9931
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<Wrapper>
Expand Down

0 comments on commit 6dd9931

Please sign in to comment.