fix: update StatsTab, DebugTab and all child components to use modular stores
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m42s

- Updated StatsTab to use hooks directly (useSkillStore, usePrestigeStore, etc.)
- Updated DebugTab to use hooks directly
- Updated all debug child components (GameStateDebug, SkillDebug, AttunementDebug, etc.)
- Updated all stats child components (ManaStatsSection, CombatStatsSection, etc.)
- Fixed UpgradeEffectsSection.tsx syntax errors
- Updated page.tsx to not pass store prop to StatsTab and DebugTab
- All components now use modular stores directly instead of receiving store prop
This commit is contained in:
Refactoring Agent
2026-05-02 23:43:49 +02:00
parent f1499046b5
commit ca07719456
14 changed files with 387 additions and 338 deletions
+2 -2
View File
@@ -233,13 +233,13 @@ export default function ManaLoopGame() {
<TabsContent value="stats">
<Suspense fallback={<TabLoadingFallback />}>
<StatsTab store={store} />
<StatsTab />
</Suspense>
</TabsContent>
<TabsContent value="debug">
<Suspense fallback={<TabLoadingFallback />}>
<DebugTab store={store} />
<DebugTab />
</Suspense>
</TabsContent>