Browse Source

refactor(nc-gui): use global api instance in state plugin

pull/3801/head
braks 2 years ago
parent
commit
36f62b0841
  1. 2
      packages/nc-gui/plugins/state.ts

2
packages/nc-gui/plugins/state.ts

@ -17,7 +17,7 @@ import { Language, LanguageAlias } from '~/lib'
export default defineNuxtPlugin(async () => {
const state = useGlobal()
const { api } = useApi()
const { api } = useApi({ useGlobalInstance: true })
let currentLang = state.lang.value

Loading…
Cancel
Save