Skip to content

Commit

Permalink
fix: ts error in CreditsAmount stories
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralph committed Aug 8, 2024
1 parent 9cfb941 commit 69d5a28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const CreditsWithForm = (args: any) => {
defaultValues: {
amountCurrency: 1,
amountCredits: 1,
cryptoPurchaseOption: PAYMENT_OPTIONS.CARD,
retiring: true,
},
mode: 'onBlur',
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ import {
} from 'react';
import { SubmitHandler, useWatch } from 'react-hook-form';
import { CreditsAmount } from 'web-marketplace/src/components/molecules/CreditsAmount/CreditsAmount';
import {
cryptoOptions,
DEFAULT_CRYPTO_CURRENCY,
} from 'web-marketplace/src/components/molecules/CreditsAmount/CreditsAmount.constants';
import { DEFAULT_CRYPTO_CURRENCY } from 'web-marketplace/src/components/molecules/CreditsAmount/CreditsAmount.constants';
import Form from 'web-marketplace/src/components/molecules/Form/Form';
import { useZodForm } from 'web-marketplace/src/components/molecules/Form/hook/useZodForm';

Expand Down

0 comments on commit 69d5a28

Please sign in to comment.