Some texts were using normal markdown and not markdawn

This commit is contained in:
DrMint 2022-12-05 22:09:21 +01:00
parent 6abff354ee
commit e9950602c4
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,3 @@
import Markdown from "markdown-to-jsx";
import { HorizontalLine } from "components/HorizontalLine"; import { HorizontalLine } from "components/HorizontalLine";
import { Button } from "components/Inputs/Button"; import { Button } from "components/Inputs/Button";
import { NavOption } from "components/PanelComponents/NavOption"; import { NavOption } from "components/PanelComponents/NavOption";
@ -11,6 +10,7 @@ import { sendAnalytics } from "helpers/analytics";
import { ColoredSvg } from "components/ColoredSvg"; import { ColoredSvg } from "components/ColoredSvg";
import { atoms } from "contexts/atoms"; import { atoms } from "contexts/atoms";
import { useAtomGetter, useAtomPair, useAtomSetter } from "helpers/atoms"; import { useAtomGetter, useAtomPair, useAtomSetter } from "helpers/atoms";
import { Markdawn } from "components/Markdown/Markdawn";
/* /*
* *
@ -166,7 +166,7 @@ export const MainPanel = (): JSX.Element => {
<div className={cJoin("text-center", cIf(isMainPanelReduced && is3ColumnsLayout, "hidden"))}> <div className={cJoin("text-center", cIf(isMainPanelReduced && is3ColumnsLayout, "hidden"))}>
{isDefinedAndNotEmpty(langui.licensing_notice) && ( {isDefinedAndNotEmpty(langui.licensing_notice) && (
<p> <p>
<Markdown>{langui.licensing_notice}</Markdown> <Markdawn text={langui.licensing_notice} />
</p> </p>
)} )}
<div className="mt-4 mb-8 grid place-content-center"> <div className="mt-4 mb-8 grid place-content-center">
@ -192,7 +192,7 @@ export const MainPanel = (): JSX.Element => {
</div> </div>
{isDefinedAndNotEmpty(langui.copyright_notice) && ( {isDefinedAndNotEmpty(langui.copyright_notice) && (
<p> <p>
<Markdown>{langui.copyright_notice}</Markdown> <Markdawn text={langui.copyright_notice} />
</p> </p>
)} )}
<div className="mt-12 mb-4 grid h-4 grid-flow-col place-content-center gap-8"> <div className="mt-12 mb-4 grid h-4 grid-flow-col place-content-center gap-8">