Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
wraeth-eth committed Nov 29, 2024
1 parent e1bf860 commit 48534c4
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ import { useModal } from 'hooks/useModal'
import { TreasurySelection } from 'models/treasurySelection'
import { ConvertAmountsModal } from 'packages/v2v3/components/shared/PayoutsTable/ConvertAmountsModal'
import { usePayoutsTable } from 'packages/v2v3/components/shared/PayoutsTable/hooks/usePayoutsTable'
import { V4_CURRENCY_ETH, V4_CURRENCY_USD } from 'packages/v4/utils/currency'
import { useCallback, useEffect, useMemo, useState } from 'react'
import { useAppDispatch } from 'redux/hooks/useAppDispatch'
import { useAppSelector } from 'redux/hooks/useAppSelector'
import { ReduxDistributionLimit } from 'redux/hooks/useEditingDistributionLimit'
import { ReduxDistributionLimit } from 'redux/hooks/v2v3/shared'
import { creatingV2ProjectActions } from 'redux/slices/creatingV2Project'
import { fromWad } from 'utils/format/formatNumber'
import { Icons } from '../../../Icons'
Expand All @@ -35,6 +36,7 @@ export function TreasuryOptionsRadio() {

const {
distributionLimit,
currency,
setDistributionLimit,
payoutSplits,
setCurrency,
Expand Down Expand Up @@ -169,6 +171,7 @@ export function TreasuryOptionsRadio() {
onClose={switchingToUnlimitedModal.close}
/>
<ConvertAmountsModal
currency={currency === 'ETH' ? V4_CURRENCY_ETH : V4_CURRENCY_USD}
open={switchingToAmountsModal.visible}
onOk={switchToAmountsPayoutSelection}
onCancel={switchingToAmountsModal.close}
Expand Down

0 comments on commit 48534c4

Please sign in to comment.