diff --git a/quiz-app/src/App.vue b/quiz-app/src/App.vue index 0e66a7a6..19bc4e5e 100644 --- a/quiz-app/src/App.vue +++ b/quiz-app/src/App.vue @@ -38,7 +38,9 @@ export default { }, }, created() { - this.locale = this.$route.query.loc; + if (this.$route.query.loc) { + this.locale = this.$route.query.loc; + } }, };