diff --git a/packages/ketcher-react/src/script/ui/dialog/template/useSaltsAndSolvets.ts b/packages/ketcher-react/src/script/ui/dialog/template/useSaltsAndSolvets.ts index 56508ad5fd..6f02bab217 100644 --- a/packages/ketcher-react/src/script/ui/dialog/template/useSaltsAndSolvets.ts +++ b/packages/ketcher-react/src/script/ui/dialog/template/useSaltsAndSolvets.ts @@ -30,9 +30,8 @@ export default function useSaltsAndSolvents( }, []) useEffect(() => { - const filteredSaS = filterFGLib(saltsAndSolvents, filter)[ - SALTS_AND_SOLVENTS - ] + const filteredSaS = + filterFGLib(saltsAndSolvents, filter)[SALTS_AND_SOLVENTS] ?? [] addToSaSWithBatches(filteredSaS) }, [saltsAndSolvents, addToSaSWithBatches])