Skip to content

Commit a2c62d9

Browse files
committed
refactor: delete unused export
1 parent b035bc8 commit a2c62d9

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/stores/assetsStore.ts

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { useAsyncState } from '@vueuse/core'
22
import { defineStore } from 'pinia'
3-
import { computed } from 'vue'
43

54
import {
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
})

0 commit comments

Comments
 (0)