From c4fe002466b57a0c45c26abb281f0b13e0e3390f Mon Sep 17 00:00:00 2001 From: Nodude <75137537+NodudeWasTaken@users.noreply.github.com> Date: Tue, 12 Sep 2023 15:24:40 +0200 Subject: [PATCH] Fix indent --- ui/v2.5/src/components/Settings/context.tsx | 24 ++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/ui/v2.5/src/components/Settings/context.tsx b/ui/v2.5/src/components/Settings/context.tsx index d79b20657a9..2db1723a094 100644 --- a/ui/v2.5/src/components/Settings/context.tsx +++ b/ui/v2.5/src/components/Settings/context.tsx @@ -395,19 +395,19 @@ export const SettingsContext: React.FC = ({ children }) => { // saves the configuration if no further changes are made after a half second const saveHSPConfig = useDebounce(async (input: GQL.ConfigHspInput) => { - try { - setUpdateSuccess(undefined); - await updateHSPConfig({ - variables: { - input, - }, - }); + try { + setUpdateSuccess(undefined); + await updateHSPConfig({ + variables: { + input, + }, + }); - setPendingHSP(undefined); - onSuccess(); - } catch (e) { - setSaveError(e); - } + setPendingHSP(undefined); + onSuccess(); + } catch (e) { + setSaveError(e); + } }, 500); useEffect(() => {