kyc 1min
This commit is contained in:
parent
77c71a4c2d
commit
ae1aee1358
@ -58,7 +58,7 @@ export function InputCurrency<T>({
|
||||
inputType="number"
|
||||
expand={expand}
|
||||
toStr={(v?: Amount) => v?.split(":")[1] || ""}
|
||||
fromStr={(v: string) => (!v ? "" : `${config.currency}:${v}`)}
|
||||
fromStr={(v: string) => (!v ? undefined : `${config.currency}:${v}`)}
|
||||
inputExtra={{ min: 0 }}
|
||||
>
|
||||
{children}
|
||||
|
@ -223,9 +223,11 @@ export function useInstanceKYCDetails(): HttpResponse<
|
||||
HttpResponseOk<MerchantBackend.Instances.AccountKycRedirects>,
|
||||
RequestError<MerchantBackend.ErrorDetail>
|
||||
>([`/private/kyc`], fetcher, {
|
||||
refreshInterval: 5000,
|
||||
refreshInterval: 60 * 1000,
|
||||
refreshWhenHidden: false,
|
||||
revalidateOnFocus: false,
|
||||
revalidateIfStale: false,
|
||||
revalidateOnMount: false,
|
||||
revalidateOnReconnect: false,
|
||||
refreshWhenOffline: false,
|
||||
errorRetryCount: 0,
|
||||
|
Loading…
Reference in New Issue
Block a user