fix: refs #7196 not neccessary

This commit is contained in:
Alex Moreno 2025-01-22 11:11:41 +01:00
parent 650a5409b1
commit 675820eff6
2 changed files with 2 additions and 3 deletions

View File

@ -65,7 +65,6 @@
"overrides": {
"@vitejs/plugin-vue": "^5.2.1",
"vite": "^6.0.11",
"vitest": "^0.31.1",
"sass": "^1.83.4"
"vitest": "^0.31.1"
}
}

View File

@ -9,7 +9,7 @@ const arrayDataStore = useArrayDataStore();
export function useArrayData(key, userOptions) {
key ??= useRoute().meta.moduleName;
if (!key) throw new Error('ArrayData: A key is required to use this composable');
if (!arrayDataStore.get(key)) arrayDataStore.set(key);