diff options
author | Sebastian <sebasjm@gmail.com> | 2023-09-19 08:31:08 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-09-25 14:50:38 -0300 |
commit | a5406c5a5dc437e036168eb068db11d88e05bb0f (patch) | |
tree | 74ad5e0d858a5afb3e76ac0c692fdba866fed38f /packages/demobank-ui/src/hooks | |
parent | e628ca1af851259e609a16d0b53b8d7abfc33716 (diff) | |
download | wallet-core-a5406c5a5dc437e036168eb068db11d88e05bb0f.tar.xz |
some ui
Diffstat (limited to 'packages/demobank-ui/src/hooks')
-rw-r--r-- | packages/demobank-ui/src/hooks/access.ts | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/packages/demobank-ui/src/hooks/access.ts b/packages/demobank-ui/src/hooks/access.ts index 61f458e51..af8381135 100644 --- a/packages/demobank-ui/src/hooks/access.ts +++ b/packages/demobank-ui/src/hooks/access.ts @@ -365,7 +365,15 @@ export function useTransactions( RequestError<SandboxBackend.SandboxError> >( [`access-api/accounts/${account}/transactions`, args?.page, PAGE_SIZE], - paginatedFetcher, + paginatedFetcher, { + refreshInterval: 0, + refreshWhenHidden: false, + refreshWhenOffline: false, + // revalidateOnMount: false, + revalidateIfStale: false, + revalidateOnFocus: false, + revalidateOnReconnect: false, + } ); const [lastAfter, setLastAfter] = useState< |