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
+1 -1
View File
@@ -1,4 +1,4 @@
# Circular Dependencies # Circular Dependencies
Generated: 2026-05-28T10:18:57.618Z Generated: 2026-05-28T10:28:32.589Z
No circular dependencies found. ✅ No circular dependencies found. ✅
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"_meta": { "_meta": {
"generated": "2026-05-28T10:18:55.814Z", "generated": "2026-05-28T10:28:30.836Z",
"description": "Import dependency graph for src/lib/game. Keys are files, values are arrays of files they import.", "description": "Import dependency graph for src/lib/game. Keys are files, values are arrays of files they import.",
"usage": "To find what a file affects, search for its path in the VALUES. To find what a file depends on, look at its KEY entry." "usage": "To find what a file affects, search for its path in the VALUES. To find what a file depends on, look at its KEY entry."
}, },
@@ -15,6 +15,7 @@ import { ALL_DISCIPLINES } from '@/lib/game/data/disciplines';
import { useManaStore } from '@/lib/game/stores/manaStore'; import { useManaStore } from '@/lib/game/stores/manaStore';
import { usePrestigeStore } from '@/lib/game/stores/prestigeStore'; import { usePrestigeStore } from '@/lib/game/stores/prestigeStore';
import clsx from 'clsx'; import clsx from 'clsx';
import { DebugName } from '@/components/game/debug/debug-context';
// ─── Attunement Tabs ───────────────────────────────────────────────────────── // ─── Attunement Tabs ─────────────────────────────────────────────────────────
@@ -233,6 +234,7 @@ export const DisciplinesTab: React.FC = () => {
const activeTab = ATTUNEMENT_TABS.find((t) => t.key === activeAttunement); const activeTab = ATTUNEMENT_TABS.find((t) => t.key === activeAttunement);
return ( return (
<DebugName name="DisciplinesTab">
<div className="mt-6"> <div className="mt-6">
{/* Tab bar */} {/* Tab bar */}
<div className="flex gap-2 mb-4"> <div className="flex gap-2 mb-4">
@@ -307,5 +309,6 @@ export const DisciplinesTab: React.FC = () => {
<div>Concurrent Limit: {concurrentLimit}</div> <div>Concurrent Limit: {concurrentLimit}</div>
</div> </div>
</div> </div>
</DebugName>
); );
}; };