mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
refactor: migrate storage to apiv1 (#1890)
* refactor: migrate storage to apiv1 * chore: update * chore: update * chore: update
This commit is contained in:
@ -22,9 +22,7 @@ const StorageSection = () => {
|
||||
}, []);
|
||||
|
||||
const fetchStorageList = async () => {
|
||||
const {
|
||||
data: { data: storageList },
|
||||
} = await api.getStorageList();
|
||||
const { data: storageList } = await api.getStorageList();
|
||||
setStorageList(storageList);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user