CLAUDE: Fix Nuxt 4 store import in game layout

Add explicit Pinia store imports to layouts/game.vue. Nuxt 4 requires
explicit imports for stores - auto-imports no longer work.

This fixes: ReferenceError: useAuthStore is not defined

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Cal Corum 2026-01-13 20:41:04 -06:00
parent c5869f5ba2
commit 89a63af2a8

View File

@ -66,6 +66,9 @@
</template>
<script setup lang="ts">
import { useAuthStore } from '~/store/auth'
import { useGameStore } from '~/store/game'
const authStore = useAuthStore()
const gameStore = useGameStore()