mirror of
https://github.com/ericasch6/scrum-poker-internal.git
synced 2026-10-13 17:52:09 +00:00
fix: refactored the codebase
This commit is contained in:
@@ -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: '',
|
||||
|
||||
Reference in New Issue
Block a user