Skip to content

Commit

Permalink
Fix bug with README content and update fake copyright again
Browse files Browse the repository at this point in the history
  • Loading branch information
GreatGameDota committed Jan 8, 2021
1 parent 928d937 commit 60b924f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class Footer extends Component {
</IconButton>
</a>
<br />
<div className={classes.rights}>© 2019 - 2020 GreatGameDota</div>
<div className={classes.rights}>© 2019 - 2021 GreatGameDota</div>
</div>
);
}
Expand Down
6 changes: 5 additions & 1 deletion src/components/Project.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,11 @@ class Project extends Component {
<div>{project.topics.map((topic, index) => <Chip label={topic} className={classes.chip} key={index} />)}</div>
<br />
<div>
<ReactMarkdown source={project.readme} allowDangerousHtml />
{project.readme !== '404: Not Found' ? (
<ReactMarkdown source={project.readme} allowDangerousHtml />
) : (
<p>No README</p>
)}
</div>
</div>
);
Expand Down

0 comments on commit 60b924f

Please sign in to comment.