Skip to content

Commit fb36c0c

Browse files
fix: use spread syntax for Collapse 'in' prop to avoid TS factory type resolution issue in CI
1 parent 744bf54 commit fb36c0c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/app/src/components/DBSearchPageFilters.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1837,7 +1837,7 @@ const DBSearchPageFiltersComponent = ({
18371837
</UnstyledButton>
18381838
</Group>
18391839
</Flex>
1840-
<Collapse in={isFiltersExpanded}>
1840+
<Collapse {...{ in: isFiltersExpanded }}>
18411841
<Stack gap="sm">
18421842
{analysisMode === 'results' && (
18431843
<Checkbox

packages/app/src/components/DBSearchPageFilters/SharedFilters.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ function SharedFiltersSectionComponent({
9494
</UnstyledButton>
9595
</Group>
9696
</Flex>
97-
<Collapse in={opened}>
97+
<Collapse {...{ in: opened }}>
9898
<Stack gap={8}>{children}</Stack>
9999
</Collapse>
100100
</Stack>

0 commit comments

Comments
 (0)