Skip to content

Commit

Permalink
fix: chainId
Browse files Browse the repository at this point in the history
  • Loading branch information
cs1707 committed Apr 11, 2024
1 parent 635a770 commit 164fa41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/views/Approval/components/SignTestnetTx/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export const SignTestnetTx = ({ params, origin }: SignTxProps) => {
} = normalizeTxParams(params.data[0]);

const wallet = useWallet();
const chainId = params?.data?.[0]?.chainId;
const chainId = +params?.data?.[0]?.chainId;
const chain = chainId ? findChain({ id: +chainId }) : undefined;

const [realNonce, setRealNonce] = useState('');
Expand Down

0 comments on commit 164fa41

Please sign in to comment.