refactor: migrate storage to apiv1 (#1890)

* refactor: migrate storage to apiv1

* chore: update

* chore: update

* chore: update
This commit is contained in:
boojack
2023-07-04 10:05:57 +08:00
committed by GitHub
parent 0af14fc81a
commit 5b6c98582e
15 changed files with 448 additions and 455 deletions

View File

@ -22,9 +22,7 @@ const StorageSection = () => {
}, []);
const fetchStorageList = async () => {
const {
data: { data: storageList },
} = await api.getStorageList();
const { data: storageList } = await api.getStorageList();
setStorageList(storageList);
};