From 1355d080cfa97eadfde70e6945e30f49a38ac28e Mon Sep 17 00:00:00 2001 From: Grégoire Aubert Date: Mon, 25 Mar 2019 14:10:40 +0100 Subject: Update prettier to last version * Prettier format all modules --- server/sonar-web/src/main/js/components/workspace/Workspace.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/sonar-web/src/main/js/components/workspace') diff --git a/server/sonar-web/src/main/js/components/workspace/Workspace.tsx b/server/sonar-web/src/main/js/components/workspace/Workspace.tsx index 4647079df4b..38c419c105c 100644 --- a/server/sonar-web/src/main/js/components/workspace/Workspace.tsx +++ b/server/sonar-web/src/main/js/components/workspace/Workspace.tsx @@ -133,8 +133,8 @@ export default class Workspace extends React.PureComponent<{}, State> { if (this.mounted) { const { key, name, qualifier } = details; this.setState((state: State) => ({ - components: state.components.map( - component => (component.key === key ? { ...component, name, qualifier } : component) + components: state.components.map(component => + component.key === key ? { ...component, name, qualifier } : component ) })); } -- cgit v1.2.3