diff --git a/packages/edit-site/src/components/global-styles/screen-root.js b/packages/edit-site/src/components/global-styles/screen-root.js index 8cd26b4ba95ea..88333687efb23 100644 --- a/packages/edit-site/src/components/global-styles/screen-root.js +++ b/packages/edit-site/src/components/global-styles/screen-root.js @@ -40,7 +40,8 @@ function ScreenRoot() { return { variations: __experimentalGetCurrentThemeGlobalStylesVariations(), - canEditCSS: globalStyles?._links?.[ 'wp:action-edit-css' ] ?? false, + canEditCSS: + !! globalStyles?._links?.[ 'wp:action-edit-css' ] ?? false, }; }, [] );