From 1fc16af8cc8fbb68e3c8e4c991be5fd6c4ffc86b Mon Sep 17 00:00:00 2001 From: Glen Davies Date: Wed, 7 Jun 2023 11:42:44 +1200 Subject: [PATCH] only show view site link in view mode --- .../src/components/site-hub/index.js | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/packages/edit-site/src/components/site-hub/index.js b/packages/edit-site/src/components/site-hub/index.js index dd184286f7d9b3..5ad6376b3006b0 100644 --- a/packages/edit-site/src/components/site-hub/index.js +++ b/packages/edit-site/src/components/site-hub/index.js @@ -156,14 +156,18 @@ const SiteHub = forwardRef( ( props, ref ) => { { decodeEntities( siteTitle ) } -