mirror of
https://github.com/mue/mue.git
synced 2026-07-20 07:24:08 +02:00
cleanup
This commit is contained in:
@@ -52,9 +52,7 @@ export default class Greeting extends React.PureComponent {
|
||||
if (birth.getDate() === now.getDate() && birth.getMonth() === now.getMonth() && birth.getFullYear() !== 1001) message = 'Happy Birthday';
|
||||
|
||||
// Set the state to the greeting string
|
||||
this.setState({
|
||||
greeting: `${message}${name}`
|
||||
});
|
||||
this.setState({ greeting: `${message}${name}` });
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
|
||||
Reference in New Issue
Block a user