Browse Source

refactor: combine import statements

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/4696/head
Pranav C 2 years ago
parent
commit
319584dd5d
  1. 3
      packages/nc-gui/middleware/auth.global.ts

3
packages/nc-gui/middleware/auth.global.ts

@ -1,7 +1,6 @@
import type { Api } from 'nocodb-sdk'
import type { Actions } from '~/composables/useGlobal/types'
import { defineNuxtRouteMiddleware, message, navigateTo, useApi, useGlobal, useRoles } from '#imports'
import { extractSdkResponseErrorMsg } from '~/utils'
import { defineNuxtRouteMiddleware, extractSdkResponseErrorMsg, message, navigateTo, useApi, useGlobal, useRoles } from '#imports'
/**
* Global auth middleware

Loading…
Cancel
Save