Files
Mana-Loop/src/components/game/tabs/DebugTab.tsx
T
Refactoring Agent 3bcf20636c
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 25s
Fix DebugTab crash (Bug 4): Correct GameStore import path
2026-04-27 12:31:06 +02:00

35 lines
707 B
TypeScript
Executable File

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