Skip to content

Commit

Permalink
🐛 use MarkdownTextWrap in explorer subtitle
Browse files Browse the repository at this point in the history
  • Loading branch information
ikesau committed Sep 22, 2023
1 parent aa8a886 commit b963d7e
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions explorer/Explorer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import {
isInIFrame,
keyBy,
keyMap,
MarkdownTextWrap,
omitUndefinedValues,
PromiseCache,
PromiseSwitcher,
Expand Down Expand Up @@ -746,12 +747,12 @@ export class Explorer
<div className="ExplorerTitle">
{this.explorerProgram.explorerTitle}
</div>
<div
className="ExplorerSubtitle"
dangerouslySetInnerHTML={{
__html: this.explorerProgram.explorerSubtitle || "",
}}
></div>
<div className="ExplorerSubtitle">
<MarkdownTextWrap
fontSize={12}
text={this.explorerProgram.explorerSubtitle || ""}
/>
</div>
</div>
)
}
Expand Down

0 comments on commit b963d7e

Please sign in to comment.