From a27163db225346bb0dbdf68156dfcc4a51da4316 Mon Sep 17 00:00:00 2001 From: dklimpel <5740567+dklimpel@users.noreply.github.com> Date: Sun, 29 Mar 2020 21:06:34 +0200 Subject: [PATCH] Fix coding style --- src/components/LoginPage.js | 2 +- src/synapse/authProvider.js | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/components/LoginPage.js b/src/components/LoginPage.js index a720904..2cd6cca 100644 --- a/src/components/LoginPage.js +++ b/src/components/LoginPage.js @@ -157,7 +157,7 @@ const LoginPage = ({ theme }) => { disabled={loading} /> -
+
{ - const normalized_base_url = stripTrailingSlash(getBaseUrl( - trimmed_url, - json.well_known["m.homeserver"].base_url, - force_server - )); + const normalized_base_url = stripTrailingSlash( + getBaseUrl( + trimmed_url, + json.well_known["m.homeserver"].base_url, + force_server + ) + ); localStorage.setItem("base_url", normalized_base_url); localStorage.setItem("home_server_url", json.home_server);