Additional Fix to articles.js

This commit is contained in:
Camerin 2021-10-31 21:14:10 -04:00
parent f836a19c6d
commit ce0503ad11
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class Articles extends React.Component {
}
article(match) {
if (this.props.articles) {
if (this.props.articles.length > 0) {
return <Article article={this.props.articles[match.params.id]}/>;
} else {
return <div></div>;