mirror of
https://github.com/mue/mue.git
synced 2026-07-24 09:17:24 +02:00
perf: remove unneeded divs and replace with <>, remove outdated notes code
This commit is contained in:
@@ -143,7 +143,7 @@ export default class Quote extends React.PureComponent {
|
||||
this.setState({
|
||||
favourited: localStorage.getItem('favouriteQuote') ? <StarIcon className='copyButton' onClick={() => this.favourite()} /> : null,
|
||||
copy: (localStorage.getItem('copyButton') === 'false') ? null : this.state.copy,
|
||||
tweet: (localStorage.getItem('tweetButton') === 'false') ? null: this.state.tweet
|
||||
tweet: (localStorage.getItem('tweetButton') === 'false') ? null : this.state.tweet
|
||||
});
|
||||
|
||||
this.getQuote();
|
||||
|
||||
Reference in New Issue
Block a user