File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change 11import { useAsyncState } from '@vueuse/core'
22import { defineStore } from 'pinia'
3- import { computed } from 'vue'
43
54import {
65 mapInputFileToAssetItem ,
@@ -118,12 +117,6 @@ export const useAssetsStore = defineStore('assets', () => {
118117 }
119118 } )
120119
121- const isLoading = computed ( ( ) => inputLoading . value || historyLoading . value )
122-
123- const update = async ( ) => {
124- await Promise . all ( [ updateInputs ( ) , updateHistory ( ) ] )
125- }
126-
127120 return {
128121 // States
129122 inputAssets,
@@ -132,11 +125,9 @@ export const useAssetsStore = defineStore('assets', () => {
132125 historyLoading,
133126 inputError,
134127 historyError,
135- isLoading,
136128
137129 // Actions
138130 updateInputs,
139- updateHistory,
140- update
131+ updateHistory
141132 }
142133} )
You can’t perform that action at this time.
0 commit comments