Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benjackwhite committed Apr 24, 2024
1 parent ec5d6ef commit 6b9f548
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const OnboardingProductConfiguration = ({
}, [configOptions])

useEffect(() => {
setConfigOptions(options.filter((option) => option) as ProductConfigOption[])
setConfigOptions(options.filter((option): option is ProductConfigOption => !!option))
}, [])

const combinedList: ConfigOption[] = [
Expand Down

0 comments on commit 6b9f548

Please sign in to comment.