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