We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 376e2f7 commit 2198b98Copy full SHA for 2198b98
src/store/modules/route/index.ts
@@ -219,7 +219,7 @@ export const useRouteStore = defineStore(SetupStoreId.Route, () => {
219
/** Init auth route */
220
async function initAuthRoute() {
221
if (authRouteMode.value === 'static') {
222
- await initStaticAuthRoute();
+ initStaticAuthRoute();
223
} else {
224
await initDynamicAuthRoute();
225
}
@@ -228,7 +228,7 @@ export const useRouteStore = defineStore(SetupStoreId.Route, () => {
228
229
230
/** Init static auth route */
231
- async function initStaticAuthRoute() {
+ function initStaticAuthRoute() {
232
const { authRoutes: staticAuthRoutes } = createStaticRoutes();
233
234
if (authStore.isStaticSuper) {
0 commit comments