Skip to content

Commit

Permalink
fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
zyxkad committed Dec 17, 2023
1 parent 07036b8 commit 7664f4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dashboard/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
import { computed } from 'vue'
import { RouterView } from 'vue-router'
import Dropdown from 'primevue/dropdown'
import { avaliableLangs, getLang, setLang } from '@/lang'
import { type Lang, avaliableLangs, getLang, setLang } from '@/lang'
const languages = avaliableLangs.map((v) => v.code)
const selectedLang = computed(() => getLang())
function updateLang(value){
function updateLang(value: Lang){
setLang(value)
}
Expand Down

0 comments on commit 7664f4c

Please sign in to comment.