Skip to content

Commit

Permalink
Fix: ui.tsのstateの参照を修正 (VOICEVOX#1993)
Browse files Browse the repository at this point in the history
Fix: stateの参照を修正
  • Loading branch information
sevenc-nanashi authored Apr 15, 2024
1 parent 26bac57 commit 5cb3455
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/store/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
UiStoreTypes,
} from "./type";
import { createPartialStore } from "./vuex";
import { store } from ".";
import { ActivePointScrollMode } from "@/type/preload";
import {
CommonDialogOptions,
Expand Down Expand Up @@ -513,12 +512,12 @@ export const uiStore = createPartialStore<UiStoreTypes>({
await multiGenerateAndSaveAudioWithDialog({
audioKeys: selectedAudioKeys,
dispatch: dispatch,
disableNotifyOnGenerate: store.state.confirmedTips.notifyOnGenerate,
disableNotifyOnGenerate: state.confirmedTips.notifyOnGenerate,
});
} else {
await generateAndSaveOneAudioWithDialog({
audioKey: activeAudioKey,
disableNotifyOnGenerate: store.state.confirmedTips.notifyOnGenerate,
disableNotifyOnGenerate: state.confirmedTips.notifyOnGenerate,
dispatch: dispatch,
});
}
Expand Down

0 comments on commit 5cb3455

Please sign in to comment.