diff --git a/packages/editor/src/components/post-sync-status/index.js b/packages/editor/src/components/post-sync-status/index.js index b3e36431fdd0ce..8219ef7c0e4f54 100644 --- a/packages/editor/src/components/post-sync-status/index.js +++ b/packages/editor/src/components/post-sync-status/index.js @@ -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 (