Skip to content

Commit cfddedd

Browse files
committed
🐛 fix: fix init of chat plugin
1 parent fbfd8f1 commit cfddedd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/store/midjourney/action.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ export const actions: StateCreator<
222222

223223
if (payload?.name === 'showMJ') {
224224
const { prompts } = payload.arguments!;
225+
useGlobalStore.setState({ settings: payload.settings });
225226

226227
return {
227228
...payload.state,

0 commit comments

Comments
 (0)