Skip to content

Commit 8ef9bba

Browse files
committed
fix(api): fix api imports
1 parent 6817046 commit 8ef9bba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/router/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { createWebHistory, createRouter } from 'vue-router'
22
import { inject } from 'vue'
33
import { Api } from '@/api'
4-
import boards from '@/api/others'
4+
import { boards } from '@/api/others'
55
import Boards from '@/views/Boards.vue'
66
import Threads from '@/views/Threads.vue'
77
import About from '@/views/About.vue'

src/views/Boards.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ import LoginModal from '@/components/modals/auth/Login.vue'
9393
import RegisterModal from '@/components/modals/auth/Register.vue'
9494
import { inject, reactive, toRefs, watch } from 'vue'
9595
import { Api } from '@/api'
96-
import boards from '@/api/others'
96+
import { boards } from '@/api/others'
9797
import { AuthStore } from '@/composables/stores/auth'
9898
import { PreferencesStore } from '@/composables/stores/prefs'
9999
import { countTotals, getLastPost, filterIgnoredBoards } from '@/composables/utils/boardUtils'

0 commit comments

Comments
 (0)