Initialize god mode state synchronously from localStorage

Fixkamo-internal
已装运
2026年3月22日 01:20 UTC
作者
kamo
提交
87ece9b

isGodMode was initialized as false and only loaded from localStorage in a useEffect (after first render), so checkRight() returned false on initial render even when god mode was active. Now uses useState initializer to read localStorage synchronously, avoiding the flash of denied state.

所有更改

就像你看到的运输?

每一个都自动更新您工作空间的地盘。 开始自由,看它成长 一周又一周.

永远开始自由查看定价