mirror of
https://github.com/mue/mue.git
synced 2026-07-12 02:42:07 +02:00
perf: further improve performance
This commit is contained in:
@@ -199,7 +199,8 @@ export default class Background extends React.PureComponent {
|
||||
return (
|
||||
<React.Fragment>
|
||||
<div id='backgroundImage'/>
|
||||
<PhotoInformation className={this.props.photoInformationClass} info={this.state.photoInfo}/>
|
||||
{(this.state.photoInfo.credit !== '') ? <PhotoInformation className={this.props.photoInformationClass} info={this.state.photoInfo}/>
|
||||
: null}
|
||||
</React.Fragment>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user