fix: hydration mismatch, production Dockerfile, SSR localStorage guard, SpellsTab/SkillsTab/debug store migrations
Build and Publish Mana Loop Docker Image / build-and-publish (push) Has been cancelled

This commit is contained in:
2026-05-06 11:17:12 +02:00
parent 17b3571a18
commit 496d3dde4c
6 changed files with 28 additions and 45 deletions
+3 -3
View File
@@ -9,15 +9,15 @@ import { ELEMENTS } from '@/lib/game/constants';
export function ElementDebug() {
const elements = useManaStore((s) => s.elements);
const unlockElement = useManaStore((s) => s.unlockElement);
const debugAddElementalMana = useManaStore((s) => s.debugAddElementalMana);
const addElementMana = useManaStore((s) => s.addElementMana);
const handleUnlockElement = (element: string) => {
unlockElement(element, 500);
};
const handleAddElementalMana = (element: string, amount: number) => {
if (debugAddElementalMana) {
debugAddElementalMana(element, amount);
if (addElementMana) {
addElementMana(element, amount);
}
};