@lvce-editor/main-area-worker 9.56.1 → 9.56.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6391,7 +6391,9 @@ const handleWorkspaceRefresh = async (state, refresh = {}) => {
6391
6391
  const handleWorkspaceRefreshWithContext = async (context, refresh = {}) => {
6392
6392
  const state = context.getState();
6393
6393
  const newState = await handleWorkspaceRefresh(state, refresh);
6394
- await context.updateState(() => newState);
6394
+ if (newState !== state) {
6395
+ await context.updateState(() => newState);
6396
+ }
6395
6397
  };
6396
6398
 
6397
6399
  const hasActiveTextEditor = state => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/main-area-worker",
3
- "version": "9.56.1",
3
+ "version": "9.56.2",
4
4
  "description": "Main Area Worker",
5
5
  "repository": {
6
6
  "type": "git",