Skip to content

Commit

Permalink
fix: remove unnecessary ?
Browse files Browse the repository at this point in the history
  • Loading branch information
marcomariscal committed Sep 13, 2023
1 parent c0c404b commit 4624434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/current/widgets/hop/HopBridge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const HopBridge = ({ inputString, tokenSymbol, toChain, fromChain }: HopBridgePr
}

// TODO get the relevant to chain from hop
const req = await bridge.populateSendTx(input?.value, _fromChain, _toChain);
const req = await bridge.populateSendTx(input.value, _fromChain, _toChain);
setSendParams({ ...req, gasLimit: 10_000_000 }); // TODO figure out a better way to handle gas limits on forks
} catch (e) {
setError((e as Error).message);
Expand Down

0 comments on commit 4624434

Please sign in to comment.