Skip to content

Commit

Permalink
Update packages/editor/src/components/post-sync-status/index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonjd authored Jul 11, 2023
1 parent 81ddf49 commit 46b3c29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor/src/components/post-sync-status/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default function PostSyncStatus() {
}
// When the post is first created, the top level wp_pattern_sync_status is not set so get meta value instead.
const currentSyncStatus =
meta.wp_pattern_sync_status === 'unsynced' ? 'unsynced' : syncStatus;
meta?.wp_pattern_sync_status === 'unsynced' ? 'unsynced' : syncStatus;

return (
<PanelRow className="edit-post-sync-status">
Expand Down

0 comments on commit 46b3c29

Please sign in to comment.