mirror of
https://github.com/mue/mue.git
synced 2026-07-13 12:07:45 +02:00
stuff
This commit is contained in:
@@ -54,7 +54,9 @@ export default class Greeting extends React.PureComponent {
|
||||
const data = localStorage.getItem('greetingName');
|
||||
|
||||
if (typeof data === 'string') {
|
||||
if (data.replace(/\s/g, '').length > 0) name = `, ${data.trim()}`;
|
||||
if (data.replace(/\s/g, '').length > 0) {
|
||||
name = `, ${data.trim()}`;
|
||||
}
|
||||
}
|
||||
|
||||
if (custom === 'false') {
|
||||
|
||||
Reference in New Issue
Block a user