mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 06:13:52 +02:00
use action from store instead of directly modifying state in components
This commit is contained in:
@@ -21,7 +21,7 @@ const imageReq = {
|
||||
} catch (error) {
|
||||
console.error('Failed to cleanup avatar upload:', error);
|
||||
}
|
||||
avatarStore.avatarDialog.loading = false;
|
||||
avatarStore.setAvatarDialogLoading(false);
|
||||
},
|
||||
|
||||
async uploadAvatarImage(params, fileId) {
|
||||
@@ -154,7 +154,7 @@ const imageReq = {
|
||||
} catch (error) {
|
||||
console.error('Failed to cleanup world upload:', error);
|
||||
}
|
||||
worldStore.worldDialog.loading = false;
|
||||
worldStore.setWorldDialogLoading(false);
|
||||
},
|
||||
|
||||
async uploadWorldImage(params, fileId) {
|
||||
|
||||
Reference in New Issue
Block a user