fix: refactored the codebase

This commit is contained in:
2026-08-20 23:00:47 +02:00
parent 6f47ed0674
commit a77f74911d
64 changed files with 2864 additions and 1739 deletions
+3 -13
View File
@@ -1,20 +1,10 @@
<script setup lang="ts">
import { Head, useForm } from '@inertiajs/vue3';
import { store } from '@/routes/room';
import type { CreateRoomPageProps } from '@/types/room';
type Deck = {
id: number;
name: string;
cards: Array<{
key: string;
label: string;
}>;
};
const props = defineProps<{
decks: Deck[];
defaultPlayerName: string | null;
}>();
const props = defineProps<CreateRoomPageProps>();
const form = useForm({
title: '',