Skip to content

Commit a473014

Browse files
committed
Fix renaming module while user is following in Live
1 parent e049da1 commit a473014

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app/src/app/store/modules/live/actions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ export function updateModule({ props, state }) {
366366
moduleEntry => moduleEntry.shortid === props.moduleShortid
367367
);
368368

369-
state.set(
369+
state.merge(
370370
`editor.sandboxes.${sandbox.id}.modules.${moduleIndex}`,
371371
props.module
372372
);

0 commit comments

Comments
 (0)