ソースを参照

Merge pull request #7105 from weseek/fix/do-not-show-global-search-bar-on-share-link-page

fix: Do not show global search bar on share link page
Shun Miyazawa 3 年 前
コミット
6fa9cbaba3
1 ファイル変更1 行追加1 行削除
  1. 1 1
      packages/app/src/components/Layout/ShareLinkLayout.tsx

+ 1 - 1
packages/app/src/components/Layout/ShareLinkLayout.tsx

@@ -30,7 +30,7 @@ export const ShareLinkLayout = ({
 
 
   return (
   return (
     <RawLayout title={title} className={myClassName}>
     <RawLayout title={title} className={myClassName}>
-      <GrowiNavbar />
+      <GrowiNavbar isGlobalSearchHidden={true} />
 
 
       <div className="page-wrapper d-flex d-print-block">
       <div className="page-wrapper d-flex d-print-block">
         <div className="flex-fill mw-0" style={{ position: 'relative' }}>
         <div className="flex-fill mw-0" style={{ position: 'relative' }}>