Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: Prevent the markdown content from being empty
  • Loading branch information
orhun committed Oct 25, 2020
1 parent 2056c73 commit 2af441f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/BackSide.js
Expand Up @@ -4,6 +4,9 @@ import Markdown from "markdown-to-jsx";
import styles from "./BackSide.module.scss";

function BackSide({ content }) {
if (!content) {
content = "Failed to fetch HELP.md";
}
return (
<Markdown
options={{
Expand Down

1 comment on commit 2af441f

@vercel
Copy link

@vercel vercel bot commented on 2af441f Oct 25, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.