diff options
Diffstat (limited to 'server/sonar-web/src/main/js/app/components/GlobalMessagesContainer.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/app/components/GlobalMessagesContainer.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/app/components/GlobalMessagesContainer.tsx b/server/sonar-web/src/main/js/app/components/GlobalMessagesContainer.tsx index 0618a6befa0..b4f5e0b0a45 100644 --- a/server/sonar-web/src/main/js/app/components/GlobalMessagesContainer.tsx +++ b/server/sonar-web/src/main/js/app/components/GlobalMessagesContainer.tsx @@ -38,7 +38,7 @@ export default class GlobalMessagesContainer extends React.Component<{}, State> super(props); this.state = { - messages: [] + messages: [], }; } @@ -65,7 +65,7 @@ export default class GlobalMessagesContainer extends React.Component<{}, State> closeMessage = (messageId: string) => { if (this.mounted) { this.setState(({ messages }) => { - return { messages: messages.filter(m => m.id !== messageId) }; + return { messages: messages.filter((m) => m.id !== messageId) }; }); } }; @@ -79,7 +79,7 @@ export default class GlobalMessagesContainer extends React.Component<{}, State> return ( <MessagesContainer> - {messages.map(message => ( + {messages.map((message) => ( <GlobalMessage closeGlobalMessage={this.closeMessage} key={message.id} |