Files
Mana-Loop/src/components/game/tabs/DebugTab.tsx
T
Refactoring Agent ca07719456
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m42s
fix: update StatsTab, DebugTab and all child components to use modular stores
- 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
2026-05-02 23:43:49 +02:00

30 lines
567 B
TypeScript
Executable File

'use client';
import { GameStateDebug } from '@/components/game/debug/GameStateDebug';
import {
SkillDebug,
AttunementDebug,
ElementDebug,
GolemDebug,
PactDebug
} from '@/components/game/debug';
export function DebugTab() {
return (
<div className="space-y-4">
<GameStateDebug />
<div className="grid grid-cols-1 md:grid-cols-2 gap-4">
<AttunementDebug />
<ElementDebug />
</div>
<SkillDebug />
<GolemDebug />
<PactDebug />
</div>
);
}
DebugTab.displayName = "DebugTab";