fix: migrate golemancy/activity/achievements, fix CraftingTab/SkillsTab/SpireTab/GolemancyTab/AchievementsTab store reads
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 2m1s

This commit is contained in:
Refactoring Agent
2026-05-05 16:11:28 +02:00
parent ed616738fd
commit ed69a8f2b4
9 changed files with 352 additions and 140 deletions
+8 -8
View File
@@ -1,16 +1,16 @@
'use client';
import { AchievementsDisplay } from '@/components/game/AchievementsDisplay';
import { useGameStore } from '@/lib/game/stores';
import { useCombatStore, useManaStore, usePrestigeStore } from '@/lib/game/stores';
export function AchievementsTab() {
const achievements = useGameStore((s) => s.achievements);
const maxFloorReached = useGameStore((s) => s.maxFloorReached);
const totalManaGathered = useGameStore((s) => s.totalManaGathered);
const signedPacts = useGameStore((s) => s.signedPacts);
const totalSpellsCast = useGameStore((s) => s.totalSpellsCast);
const totalDamageDealt = useGameStore((s) => s.totalDamageDealt);
const totalCraftsCompleted = useGameStore((s) => s.totalCraftsCompleted);
const achievements = useCombatStore((s) => s.achievements);
const maxFloorReached = useCombatStore((s) => s.maxFloorReached);
const totalManaGathered = useManaStore((s) => s.totalManaGathered);
const signedPacts = usePrestigeStore((s) => s.signedPacts);
const totalSpellsCast = useCombatStore((s) => s.totalSpellsCast);
const totalDamageDealt = useCombatStore((s) => s.totalDamageDealt);
const totalCraftsCompleted = useCombatStore((s) => s.totalCraftsCompleted);
return (
<div className="space-y-4">