Standardize store exports to named useXxxStore convention
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -18,12 +18,12 @@
|
||||
import IconUploarding from '../icons/IconUploarding.vue';
|
||||
import { uploadFailedFirst } from '@/module/alertModal.js'
|
||||
import { storeToRefs } from 'pinia';
|
||||
import FilesStore from '@/stores/files.js';
|
||||
import { useFilesStore } from '@/stores/files.js';
|
||||
|
||||
export default {
|
||||
props: ['uploadModal'],
|
||||
setup() {
|
||||
const filesStore = FilesStore();
|
||||
const filesStore = useFilesStore();
|
||||
const { uploadFileName } = storeToRefs(filesStore);
|
||||
|
||||
return { filesStore, uploadFileName }
|
||||
|
||||
Reference in New Issue
Block a user