From 7ebae2fc74e30bde8b62188c97d928bfe1c39183 Mon Sep 17 00:00:00 2001 From: Mirian Okradze Date: Tue, 10 Oct 2023 10:18:25 +0400 Subject: [PATCH] fix: settings --- apps/ui/src/pages/Settings/useSettings.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ui/src/pages/Settings/useSettings.ts b/apps/ui/src/pages/Settings/useSettings.ts index 6890aa281..4175a7ded 100644 --- a/apps/ui/src/pages/Settings/useSettings.ts +++ b/apps/ui/src/pages/Settings/useSettings.ts @@ -45,7 +45,7 @@ export const useSettings = () => { const [updateConfig] = useUpdateConfigService() const initialValues = SETTINGS_FIELDS.reduce>((prev, field) => { - const config = configsData.find( + const config = configsData?.find( (config: any) => config.account_id === currentAccount?.id && config.key === field.key, )