Przeglądaj źródła

fix conditional branches

kosei-n 2 lat temu
rodzic
commit
e54f963c6d

+ 3 - 0
apps/app/src/components/PageHeader/PagePathHeader.tsx

@@ -101,6 +101,9 @@ export const PagePathHeader: FC<Props> = memo((props: Props) => {
     if (areaElemWidth && linkElemWidth) {
       setIsIconHidden(linkElemWidth > areaElemWidth);
     }
+    else {
+      setIsIconHidden(false);
+    }
   }, [currentPage]);
 
   const subNavElem = document.getElementById('grw-contextual-sub-nav');