@lvce-editor/source-control-worker 3.16.0 → 3.16.1

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.
@@ -4040,6 +4040,9 @@ const renderItems = (oldState, newState) => {
4040
4040
  };
4041
4041
 
4042
4042
  const renderIncremental = (oldState, newState) => {
4043
+ if (oldState.loading !== newState.loading || oldState.workspacePath !== newState.workspacePath) {
4044
+ return renderItems(oldState, newState);
4045
+ }
4043
4046
  const oldDom = renderItems(oldState, oldState)[2];
4044
4047
  const newDom = renderItems(newState, newState)[2];
4045
4048
  const patches = diffTree(oldDom, newDom);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/source-control-worker",
3
- "version": "3.16.0",
3
+ "version": "3.16.1",
4
4
  "description": "Source Control Worker",
5
5
  "keywords": [
6
6
  "Lvce Editor"