mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-30 18:57:27 +08:00
Introduced in #6865, caused by account button reacting to the `snapshotUpdate` triggered by `addXp` function. Fixed by merging result related snapshot functions into one and adding a `noDispatchEvent` param to `setSnapshot` and using it in the new function and `addXp`. This works because result and alerts panel both call the `XPBar.update` directly to animate the xp gain. |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| docker | ||
| scripts | ||
| src | ||
| static | ||
| .eslintrc.cjs | ||
| .firebaserc_example | ||
| .oxlintrc.json | ||
| firebase.json | ||
| package.json | ||
| tsconfig.json | ||
| vite.config.dev.js | ||
| vite.config.js | ||
| vite.config.prod.js | ||
| vitest.config.ts | ||