Fixed missing default return in map
This commit is contained in:
parent
21378184ff
commit
bf851cceb2
|
|
@ -45,6 +45,8 @@ const Article = ({article}) => {
|
|||
|
||||
return <div className="code" key={i}>{output[i]}</div>;
|
||||
|
||||
} else {
|
||||
return <div></div>;
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue