Skip to content

Commit

Permalink
Fix activating a theme in site editor when previewing (#60699)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntsekouras authored and fullofcaffeine committed Apr 16, 2024
1 parent 5ae8105 commit da27709
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/editor/src/store/private-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,6 @@ export const saveDirtyEntities =
);
}
);
if ( ! entitiesToSave.length ) {
return;
}
close?.( entitiesToSave );
const siteItemsToSave = [];
const pendingSavedRecords = [];
Expand Down

0 comments on commit da27709

Please sign in to comment.