Initialize god mode state synchronously from localStorage

Fixkamo-internal
Shipped
22 مارس 2026 في 1:20 ص UTC
صاحب البلاغ
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.

جميع التغييرات

مثل ما ترى الشحن؟?

كل واحد من هذه تحديثات الأراضي في مكان عملك تلقائيا. ابدأوا بالمجان وشاهدوها تنمو بعد أسبوع.

ابدأوا حراً للأبدخصخصة الفيو