diff --git a/dist/index.html b/dist/index.html index 2b528cc0..7213cbf8 100644 --- a/dist/index.html +++ b/dist/index.html @@ -5,7 +5,7 @@ Boris - Nostr Bookmarks - + diff --git a/src/components/ContentPanel.tsx b/src/components/ContentPanel.tsx index b0353728..811158b7 100644 --- a/src/components/ContentPanel.tsx +++ b/src/components/ContentPanel.tsx @@ -252,56 +252,58 @@ const ContentPanel: React.FC = ({ const highlightRgb = hexToRgb(highlightColor) return ( -
- {/* Hidden markdown preview to convert markdown to HTML */} - {markdown && ( -
- - {markdown} - -
- )} - - - {markdown || html ? ( - markdown ? ( - finalHtml ? ( -
+ <> +
+ {/* Hidden markdown preview to convert markdown to HTML */} + {markdown && ( +
+ + {markdown} + +
+ )} + + + {markdown || html ? ( + markdown ? ( + finalHtml ? ( +
+ ) : ( +
+ + {markdown} + +
+ ) ) : (
- - {markdown} - -
+ /> ) ) : ( -
- ) - ) : ( -
-

No readable content found for this URL.

-
- )} +
+

No readable content found for this URL.

+
+ )} +
{activeAccount && relayPool && ( = ({ highlightColor={highlightColor} /> )} -
+ ) }