Skip to content

Commit

Permalink
fix() various fix
Browse files Browse the repository at this point in the history
  • Loading branch information
immortal-tofu committed Dec 9, 2023
1 parent d8a4638 commit e5eaad8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/modules/common-ui/components/Connect/Connect.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { BrowserProvider, getAddress } from 'ethers';
import { Eip1193Provider } from 'ethers';
import React, { useCallback, useEffect, useMemo, useState } from 'react';

import { createFhevmInstance } from '../../../../fhevmjs';
Expand Down Expand Up @@ -97,7 +96,7 @@ export const Connect: React.FC<{
],
});
}
await refreshNetwork();
await refreshNetwork(account);
}, []);

const child = useMemo<React.ReactNode>(() => {
Expand Down
2 changes: 1 addition & 1 deletion src/modules/game/components/Game/Game.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { BrowserProvider, Contract, getAddress } from 'ethers';
import { useCallback, useEffect, useState } from 'react';
import { useEffect, useState } from 'react';
import { useParams } from 'react-router-dom';

import { abi } from '../../../../abi/cipherbomb.json';
Expand Down

0 comments on commit e5eaad8

Please sign in to comment.