Skip to content

Commit

Permalink
Home and QuestionList view cleanup - deleted unused code.
Browse files Browse the repository at this point in the history
  • Loading branch information
rimutaka committed Dec 27, 2024
1 parent 760ba78 commit c1a6f1a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions vue/src/views/HomeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ import { useMainStore } from '@/store';
import router from '@/router';
import { PageIDs } from '@/router';
import TransitionSlot from "@/components/TransitionSlot.vue";
import HomeForm from '@/components/HomeForm.vue';
import HomeCTA from '@/components/HomeCTA.vue';
import TopicList from '@/components/TopicList.vue';
Expand Down
4 changes: 0 additions & 4 deletions vue/src/views/QuestionListView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ const { email, user, questionListStatus } = storeToRefs(store);
const topic = ref();
const topicName = computed(() => {
return (constants.TOPICS.find((t) => t.id == route.query.topic))?.t;
});
watchEffect(() => {
topic.value = route.query.topic ? <string>route.query.topic : "";
});
Expand Down

0 comments on commit c1a6f1a

Please sign in to comment.