fix: minor fixes and cleanup

This commit is contained in:
David Ralph
2022-08-21 12:41:05 +01:00
parent 70e068069d
commit 5ddd26d492
38 changed files with 203 additions and 341 deletions

View File

@@ -462,7 +462,11 @@ export default class Quote extends PureComponent {
{this.state.authorOccupation !== 'Unknown' ? (
<span className="subtitle">{this.state.authorOccupation}</span>
) : null}
<span className="author-license">{this.state.authorimglicense ? this.state.authorimglicense.replace(' undefined. ', ' ') : null}</span>
<span className="author-license">
{this.state.authorimglicense
? this.state.authorimglicense.replace(' undefined. ', ' ')
: null}
</span>
</div>
) : (
<div className="author-content whileLoading" ref={this.quoteauthor}>