diff options
author | Philippe Perrin <philippe.perrin@sonarsource.com> | 2019-12-30 09:55:15 +0100 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2019-12-30 20:46:13 +0100 |
commit | 3c858d79218344eccc264dc97dcf13aa571d813b (patch) | |
tree | e523115b38bc48aee6e22108456155b45bdcdf97 /server/sonar-web/src/main/js/apps/organizations | |
parent | 997cc0f1ab3827868dd288ce104c06f7b53844a9 (diff) | |
download | sonarqube-3c858d79218344eccc264dc97dcf13aa571d813b.tar.gz sonarqube-3c858d79218344eccc264dc97dcf13aa571d813b.zip |
Fix formatting issues due to the new version of prettier
Diffstat (limited to 'server/sonar-web/src/main/js/apps/organizations')
4 files changed, 6 insertions, 15 deletions
diff --git a/server/sonar-web/src/main/js/apps/organizations/components/OrganizationDelete.tsx b/server/sonar-web/src/main/js/apps/organizations/components/OrganizationDelete.tsx index 97ae9e70640..9c0f0e35612 100644 --- a/server/sonar-web/src/main/js/apps/organizations/components/OrganizationDelete.tsx +++ b/server/sonar-web/src/main/js/apps/organizations/components/OrganizationDelete.tsx @@ -163,9 +163,4 @@ export class OrganizationDelete extends React.PureComponent<Props, State> { const mapDispatchToProps: DispatchToProps = { deleteOrganization: deleteOrganization as any }; -export default withRouter( - connect( - null, - mapDispatchToProps - )(OrganizationDelete) -); +export default withRouter(connect(null, mapDispatchToProps)(OrganizationDelete)); diff --git a/server/sonar-web/src/main/js/apps/organizations/components/OrganizationEdit.tsx b/server/sonar-web/src/main/js/apps/organizations/components/OrganizationEdit.tsx index 993f14040b9..1acfae24c84 100644 --- a/server/sonar-web/src/main/js/apps/organizations/components/OrganizationEdit.tsx +++ b/server/sonar-web/src/main/js/apps/organizations/components/OrganizationEdit.tsx @@ -220,7 +220,4 @@ export class OrganizationEdit extends React.PureComponent<Props, State> { const mapDispatchToProps = { updateOrganization: updateOrganization as any }; -export default connect( - null, - mapDispatchToProps -)(whenLoggedIn(OrganizationEdit)); +export default connect(null, mapDispatchToProps)(whenLoggedIn(OrganizationEdit)); diff --git a/server/sonar-web/src/main/js/apps/organizations/components/OrganizationPage.tsx b/server/sonar-web/src/main/js/apps/organizations/components/OrganizationPage.tsx index 9422be09cd4..a45f72f1bc5 100644 --- a/server/sonar-web/src/main/js/apps/organizations/components/OrganizationPage.tsx +++ b/server/sonar-web/src/main/js/apps/organizations/components/OrganizationPage.tsx @@ -119,7 +119,4 @@ const mapStateToProps = (state: Store, ownProps: OwnProps) => ({ const mapDispatchToProps = { fetchOrganization: fetchOrganization as any }; -export default connect( - mapStateToProps, - mapDispatchToProps -)(OrganizationPage); +export default connect(mapStateToProps, mapDispatchToProps)(OrganizationPage); diff --git a/server/sonar-web/src/main/js/apps/organizations/navigation/OrganizationNavigationMeta.tsx b/server/sonar-web/src/main/js/apps/organizations/navigation/OrganizationNavigationMeta.tsx index 893fae2e9f9..b1b2b447103 100644 --- a/server/sonar-web/src/main/js/apps/organizations/navigation/OrganizationNavigationMeta.tsx +++ b/server/sonar-web/src/main/js/apps/organizations/navigation/OrganizationNavigationMeta.tsx @@ -52,7 +52,9 @@ export default function OrganizationNavigationMeta({ hasPrivateAccess(currentUser, organization, userOrganizations) && ( <DocTooltip className="spacer-right" - doc={import(/* webpackMode: "eager" */ 'Docs/tooltips/organizations/subscription-paid-plan.md')}> + doc={import( + /* webpackMode: "eager" */ 'Docs/tooltips/organizations/subscription-paid-plan.md' + )}> <div className="badge">{translate('organization.paid_plan.badge')}</div> </DocTooltip> )} |