Skip to content
This repository was archived by the owner on Dec 26, 2023. It is now read-only.

Commit 1e4ced9

Browse files
committed
Change Network ID to number while comparing
1 parent fcb0280 commit 1e4ced9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/components/DirectMint/DirectMint.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ const DirectMint = ({ developerId }: DirectMintProps) => {
9393
};
9494

9595
const _checkNetwork = (chainId: number) => {
96-
if (chainId === NETWORK_ID) {
96+
if (chainId === Number(NETWORK_ID)) {
9797
return true;
9898
}
9999
setNetworkError(true);

0 commit comments

Comments
 (0)