Initialize god mode state synchronously from localStorage

Fixkamo-internal
Shipped
2026年3月22日 1:20 UTC
Author
kamo
Commit
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.

All changes

配送を見るのが好きですか?

これらのアップデートは、自動的にワークスペースに埋め込まれます。 週1回無料スタートし、週1回生育する.

永遠に無料で始める料金を見る