fix: add DebugName wrapper to DisciplinesTab for Show Component Names debug flag
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m23s

This commit is contained in:
2026-05-28 12:41:14 +02:00
parent 268baf3916
commit 4fa11cea41
3 changed files with 5 additions and 2 deletions
@@ -15,6 +15,7 @@ import { ALL_DISCIPLINES } from '@/lib/game/data/disciplines';
import { useManaStore } from '@/lib/game/stores/manaStore';
import { usePrestigeStore } from '@/lib/game/stores/prestigeStore';
import clsx from 'clsx';
import { DebugName } from '@/components/game/debug/debug-context';
// ─── Attunement Tabs ─────────────────────────────────────────────────────────
@@ -233,6 +234,7 @@ export const DisciplinesTab: React.FC = () => {
const activeTab = ATTUNEMENT_TABS.find((t) => t.key === activeAttunement);
return (
<DebugName name="DisciplinesTab">
<div className="mt-6">
{/* Tab bar */}
<div className="flex gap-2 mb-4">
@@ -307,5 +309,6 @@ export const DisciplinesTab: React.FC = () => {
<div>Concurrent Limit: {concurrentLimit}</div>
</div>
</div>
</DebugName>
);
};