mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-06 05:26:54 +08:00
### Description When using the command line to add or remove a theme from favorites while on the settings page, the favorites UI would not reflect the changes until the user manually refreshed the page or changed the theme. This caused confusion, despite the changes being correctly saved in the config. **Solution** Added a ConfigEvent subscription in theme-picker.ts to listen for "favThemes" updates. If the active page is "settings", the UI is now refreshed immediately by calling refreshPresetButtons(). |
||
---|---|---|
.. | ||
__tests__ | ||
docker | ||
scripts | ||
src | ||
static | ||
.eslintrc.cjs | ||
.firebaserc_example | ||
.oxlintrc.json | ||
firebase.json | ||
gulpfile.js | ||
knip.json | ||
package.json | ||
tsconfig.json | ||
vite.config.dev.js | ||
vite.config.js | ||
vite.config.prod.js | ||
vitest.config.js |