Skip to content

Commit 6104aad

Browse files
authored
Merge pull request #70 from projectstorm/hotfix
Hotfix
2 parents fb1383a + 40afac4 commit 6104aad

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/wise-beds-fail.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@projectstorm/react-workspaces-core': patch
3+
---
4+
5+
Fix cache boundary on useEffect

packages/core/src/entities/node/ExpandNodeWidget.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const ExpandNodeWidget: React.FC<ExpandNodeWidgetProps> = (props) => {
2424
forceUpdate();
2525
}
2626
});
27-
}, []);
27+
}, [props.model]);
2828
return <S.WorkspaceNode {...props} computed_initial={props.model.computed_initial} />;
2929
};
3030
namespace S {

0 commit comments

Comments
 (0)