Skip to content

Commit

Permalink
redundant import statement removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Sudarshan-21 committed Apr 16, 2024
1 parent 321e1c8 commit 2d5f587
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions zimui/src/components/TopicHome.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import TopicSectionType from '@/types/TopicSection'
import { transformTopicSectionOrSubSectionToCardData } from '@/types/TopicCardData'
import ToolBar from '../components/ToolBar.vue'
import { useLoading } from 'vue-loading-overlay'
import ErrorDisplay from './ErrorDisplay.vue'
const main = useMainStore()
Expand Down Expand Up @@ -36,7 +35,7 @@ const fetchData = async function () {
try {
const resp = await main.fetchTopic(props.slug)
if (resp) {
topic.value = resp
topic.value = resp
}
} catch (error) {
main.setErrorMessage('An error occured, Please try again.')
Expand Down

0 comments on commit 2d5f587

Please sign in to comment.