diff --git a/packages/nc-gui/store/index.ts b/packages/nc-gui/store/index.ts deleted file mode 100644 index 6ffa5d4562..0000000000 --- a/packages/nc-gui/store/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './project' diff --git a/packages/nc-gui/composables/useTabs.ts b/packages/nc-gui/store/tab.ts similarity index 98% rename from packages/nc-gui/composables/useTabs.ts rename to packages/nc-gui/store/tab.ts index a3873c6578..3ae4215178 100644 --- a/packages/nc-gui/composables/useTabs.ts +++ b/packages/nc-gui/store/tab.ts @@ -11,7 +11,7 @@ function getPredicate(key: Partial) { (!('type' in key) || tab.type === key.type) } -export const useTabs = createSharedComposable(() => { +export const useTab = createSharedComposable(() => { const tabs = ref([]) const router = useRouter()