diff options
| author | Larvan2 <[email protected]> | 2026-08-24 21:54:17 +0800 |
|---|---|---|
| committer | Larvan2 <[email protected]> | 2026-08-24 21:54:17 +0800 |
| commit | 14973a35bff14d8ac7f828f612677918cb080879 (patch) | |
| tree | b41a41bdae6af17ffe776e755ad230c1a0d476d1 /src/components/shared/Loading.module.scss | |
| parent | 9d39f048574afcd4625f0e3b144b5a4267ccea79 (diff) | |
setAutoFreeze(false) was there so logs could mutate their array in place, and
stayed after that because deep-freezing s.proxies.proxies meant walking a few
hundred objects on every dispatch. Neither slice is in the store any more; what
is left is app, configs and modals, a few dozen fields.
Every write already goes through produce and saveState only serializes, so the
freeze changes nothing at runtime and turns an out-of-produce write into a
TypeError at the point it happens instead of a silently shared object.
Verified against a live backend, since typecheck cannot see this: the settings
switches, collapse-all, theme, config fetch and the clashAPIConfigs push/splice
all dispatch without throwing.
Diffstat (limited to 'src/components/shared/Loading.module.scss')
0 files changed, 0 insertions, 0 deletions
