fix: complete store migration — fix all tab crashes and ghost field reads
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m22s
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m22s
This commit is contained in:
@@ -73,6 +73,7 @@ function GrimoireTab() {
|
||||
// Only access SPELLS_DEF on client-side
|
||||
if (typeof window !== 'undefined' && SPELLS_DEF) {
|
||||
const filtered = Object.values(SPELLS_DEF || {}).filter((s: any) => s.grimoire);
|
||||
// eslint-disable-next-line react-hooks/set-state-in-effect
|
||||
setGrimoireSpells(filtered);
|
||||
}
|
||||
}, []);
|
||||
|
||||
Reference in New Issue
Block a user