6155a2ec2b0c2bfad0d9e7b6124bdeab8986c7e0
切换账号在同一 tab 里时,旧 cache key (["curator","config"] 等) 会 让新账号"看到"上一个账号的值。如果用户没意识到、直接点保存,就会 把上一个账号的配置原样写到新账号的 per-user JSON 里去。 修复:在 useCuratorKeys / useNotificationKeys hook 里读 getStoredAuth().user_id 织进 queryKey。每个用户拥有独立 cache 桶,切换账号绝不命中对方的数据。 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Languages
Python
39.2%
TypeScript
35.9%
HTML
22.2%
CSS
1.5%
JavaScript
0.9%
Other
0.2%