We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9441968 commit d211bd6Copy full SHA for d211bd6
src/renderer/routes/Accounts.tsx
@@ -160,7 +160,10 @@ export const AccountsRoute: FC = () => {
160
await refreshAccount(account);
161
navigate('/accounts', { replace: true });
162
163
- // typically the above completes very quickly, so add an artificial delay to allow the spinner to do a few loops
+ /**
164
+ * Typically the above refresh API call completes very quickly,
165
+ * so we add an brief artificial delay to allow the icon to spin a few times
166
+ */
167
setTimeout(() => {
168
button.classList.remove('animate-spin');
169
}, 500);
0 commit comments