Skip to content

Commit

Permalink
Merge pull request #218 from celo-org/ericnakagawa-patch-2
Browse files Browse the repository at this point in the history
Update Header.tsx
  • Loading branch information
viral-sangani authored Sep 19, 2023
2 parents 1862ccb + 75bf927 commit b7cb96b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-app/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default function Header() {
});

useEffect(() => {
if (window.ethereum.isMiniPay) {
if (window.ethereum && window.ethereum.isMiniPay) {
setHideConnectBtn(true);
connect();
}
Expand Down

0 comments on commit b7cb96b

Please sign in to comment.