From 110e187adbb64ee7b051d9f8f77c3721e317a1c5 Mon Sep 17 00:00:00 2001 From: vhaudiquet Date: Wed, 4 Dec 2024 19:44:56 +0100 Subject: [PATCH] Fix string types in nav/side bars --- frontend/components/NavBar.vue | 4 ++-- frontend/components/SideBar.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/components/NavBar.vue b/frontend/components/NavBar.vue index 3866e91..8c6c4e0 100644 --- a/frontend/components/NavBar.vue +++ b/frontend/components/NavBar.vue @@ -2,11 +2,11 @@ import { LANE_IMAGES, lanePositionToIndex, POSITIONS_STR } from '~/utils/cdragon'; defineProps<{ - championName: String + championName: string championLanes?: Array }>() const emit = defineEmits<{ - stateChange: [state: String, lane: number] + stateChange: [state: string, lane: number] }>() const state = ref("runes") diff --git a/frontend/components/SideBar.vue b/frontend/components/SideBar.vue index 0f253e3..ea4b246 100644 --- a/frontend/components/SideBar.vue +++ b/frontend/components/SideBar.vue @@ -2,11 +2,11 @@ import { LANE_IMAGES, lanePositionToIndex, POSITIONS_STR } from '~/utils/cdragon'; defineProps<{ - championName: String + championName: string championLanes?: Array }>() const emit = defineEmits<{ - stateChange: [state: String, lane: number] + stateChange: [state: string, lane: number] }>() const state = ref("runes")