Skip to content

Commit

Permalink
resolve warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian-Bright committed Mar 21, 2022
1 parent 59ede2e commit fd8e2ca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/contexts/WalletContext.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ethers, providers } from 'ethers';
import { providers } from 'ethers';
import {
createContext,
useCallback,
Expand Down
1 change: 1 addition & 0 deletions src/views/Game/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ export default function Game(): JSX.Element {
}
toast.success('Shot fired', { id: loadingToast });
} catch (err) {
console.log('Err: ', err);
toast.error('Error firing shot', { id: loadingToast });
setYourShots((prev) => prev.filter((prevShot) => prevShot !== shot));
}
Expand Down
2 changes: 1 addition & 1 deletion src/web3/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,5 +129,5 @@ export const IPFS_CIDS: { [key: string]: IpfsInfo } = {

export const SUPPORTED_NETWORKS: number[] = [5, 137, 1337, 31337, 80001];

export const DEFAULT_NETWORK = SUPPORTED_NETWORKS[3];
export const DEFAULT_NETWORK = SUPPORTED_NETWORKS[4];
export const ABI = abi;

0 comments on commit fd8e2ca

Please sign in to comment.