Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
yogurtandjam committed Oct 21, 2024
1 parent 9fd6a1a commit 65178fc
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ export const WithdrawForm = () => {

const freeCollateralBN = useMemo(() => MustBigNumber(freeCollateral?.current), [freeCollateral]);

// Set default values for withdraw from
// TODO [onboarding-rewrite]: https://linear.app/dydx/issue/OTE-869/optimize-usetransfers
// Stop doing this. This is pretty slow and requires multiple render cycles to set initial state
// Set default values for withdraw form
useEffect(() => {
setTransferType(TransferType.Withdraw);
setFromChainId(selectedDydxChainId);
Expand Down

0 comments on commit 65178fc

Please sign in to comment.