8000 avoid "undefined" as classname · immutable-js/immutable-js@10085fb · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 10085fb

Browse files
committed
avoid "undefined" as classname
1 parent 15dbc60 commit 10085fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/src/MarkdownContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const MarkdownContent = memo<Props>(function MarkdownContent({
2323

2424
return (
2525
<div
26-
className={'markdown ' + className}
26+
className={'markdown ' + (className || '')}
2727
onClick={handleClick}
2828
dangerouslySetInnerHTML={{ __html: contents }}
2929
/>

0 commit comments

Comments
 (0)
0