fix: optimise throttle and hooks
In the process of fixing some hook dependencies, I introduced a bug which caused the application to rapidly send requests to the Krist server (luckily I was using a local Krist instance). To raise awareness of this if it happens again in the future, I added a notification that appears whenever the rate limit is hit. Ideally, it should never appear in production. |
---|
|
.eslintrc.json |
---|
package.json |
---|
pnpm-lock.yaml |
---|
public/locales/en.json |
---|
src/components/wallets/SelectWalletCategory.tsx |
---|
src/components/wallets/SelectWalletFormat.tsx |
---|
src/components/wallets/SyncWallets.tsx |
---|
src/components/ws/SyncMOTD.tsx |
---|
src/components/ws/SyncWork.tsx |
---|
src/components/ws/WebsocketService.tsx |
---|
src/krist/api/api.ts |
---|
src/krist/api/search.ts 0 → 100644 |
---|
src/krist/api/types.ts |
---|
src/layout/PageLayout.tsx |
---|
src/layout/nav/AppHeader.tsx |
---|
src/layout/nav/Search.tsx 0 → 100644 |
---|
src/pages/dashboard/BlockDifficultyCard.tsx |
---|
src/pages/dashboard/TransactionsCard.tsx |
---|
src/pages/settings/SettingsTranslations.tsx |
---|
src/pages/wallets/AddWalletModal.tsx |
---|
src/utils/index.ts |
---|
src/utils/promiseThrottle.ts 0 → 100644 |
---|