Skip to content

Commit

Permalink
fix: settings
Browse files Browse the repository at this point in the history
  • Loading branch information
okradze committed Oct 10, 2023
1 parent 0025dad commit 7ebae2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/ui/src/pages/Settings/useSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const useSettings = () => {
const [updateConfig] = useUpdateConfigService()

const initialValues = SETTINGS_FIELDS.reduce<Record<string, string>>((prev, field) => {
const config = configsData.find(
const config = configsData?.find(
(config: any) => config.account_id === currentAccount?.id && config.key === field.key,
)

Expand Down

0 comments on commit 7ebae2f

Please sign in to comment.