Skip to content

Commit

Permalink
Merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
kuck1 committed Mar 22, 2024
1 parent ac4221b commit 40598eb
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions packages/ui/modals/ServiceFilter/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,9 @@ export const ServiceFilter = ({ resultCount, isFetching, current, disabled }: Se
const scrollAreaMaxHeight = isMobile ? viewportHeight - 210 + 30 : viewportHeight * 0.6 - 88
// #endregion

const preSelected = Array.isArray(router.query.s)
? router.query.s
: typeof router.query.s === 'string'
? [router.query.s]
: []

const preSelected = searchState.services
const form = useForm<{ selected: string[] }>({
values: { selected: current ? current : preSelected },
values: { selected: preSelected },
})
const servicesByCategory = useMemo(
() =>
Expand Down

0 comments on commit 40598eb

Please sign in to comment.