mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-02 13:06:08 +02:00
use action from store instead of directly modifying state in components
This commit is contained in:
@@ -442,7 +442,7 @@ export const useDiscordPresenceSettingsStore = defineStore(
|
||||
*/
|
||||
async function saveDiscordOption(configLabel = '') {
|
||||
state.lastLocationDetails.tag = '';
|
||||
updateLoopStore.nextDiscordUpdate = 3;
|
||||
updateLoopStore.setNextDiscordUpdate(3);
|
||||
updateDiscord();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user