Skip to content

Commit f28e3de

Browse files
committed
Remove redundant null-check from Instructions.jsx
We already return 'null' if 'instructions' is falsey, so no need to do it in JSX too.
1 parent a98a444 commit f28e3de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/Instructions.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default function Instructions({instructions, isOpen}) {
1212
className="layout__instructions"
1313
>
1414
<div className="instructions">
15-
{instructions ? markdownToReact(instructions) : null}
15+
{markdownToReact(instructions)}
1616
</div>
1717
</div>
1818
);

0 commit comments

Comments
 (0)