-

-

+

+
@@ -103,10 +103,10 @@ import Modal from '@/components/utilities/Modal.vue'
import { type Character as CharacterT } from '@/types'
import ConfirmationModal from '@/components/utilities/ConfirmationModal.vue'
-const isLoading = ref(true)
-const characters = ref([])
const gameStore = useGameStore()
-const deletingCharacter = ref(null)
+const isLoading = ref(true)
+const characters = ref([] as CharacterT[])
+const deletingCharacter = ref(null as CharacterT | null)
// Fetch characters
gameStore.connection?.on('character:list', (data: any) => {
diff --git a/src/components/screens/Login.vue b/src/components/screens/Login.vue
index 17a6e3a..3242945 100644
--- a/src/components/screens/Login.vue
+++ b/src/components/screens/Login.vue
@@ -26,8 +26,8 @@
import { onMounted, ref } from 'vue'
import { useGameStore } from '@/stores/gameStore'
import { useCookies } from '@vueuse/integrations/useCookies'
-import LoginForm from '@/components/screens/partials/LoginForm.vue'
-import RegisterForm from '@/components/screens/partials/RegisterForm.vue'
+import LoginForm from '@/components/screens/partials/login/LoginForm.vue'
+import RegisterForm from '@/components/screens/partials/login/RegisterForm.vue'
import ResetPassword from '@/components/utilities/ResetPassword.vue'
const isPasswordResetFormShown = ref(false)
diff --git a/src/components/screens/partials/LoginForm.vue b/src/components/screens/partials/login/LoginForm.vue
similarity index 100%
rename from src/components/screens/partials/LoginForm.vue
rename to src/components/screens/partials/login/LoginForm.vue
diff --git a/src/components/screens/partials/NewPasswordForm.vue b/src/components/screens/partials/login/NewPasswordForm.vue
similarity index 100%
rename from src/components/screens/partials/NewPasswordForm.vue
rename to src/components/screens/partials/login/NewPasswordForm.vue
diff --git a/src/components/screens/partials/RegisterForm.vue b/src/components/screens/partials/login/RegisterForm.vue
similarity index 100%
rename from src/components/screens/partials/RegisterForm.vue
rename to src/components/screens/partials/login/RegisterForm.vue