Skip to content

Commit

Permalink
Fix filter panel
Browse files Browse the repository at this point in the history
  • Loading branch information
devcshort committed Nov 7, 2023
1 parent eaed85b commit 5683a1e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/client/components/organisms/FilterPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
Drawer,
Flex,
MediaQuery,
Modal,
Stack,
Title,
useMantineTheme,
Expand Down Expand Up @@ -116,9 +117,8 @@ export function FilterPanel({ filters }: any) {
</MediaQuery>

<MediaQuery largerThan="md" styles={{ display: 'none' }}>
<Drawer
<Modal
opened={state.isOpen}
position={mq ? 'bottom' : 'left'}
onClose={state.toggle}
sx={{
'.mantine-Paper-root': {
Expand Down Expand Up @@ -190,7 +190,7 @@ export function FilterPanel({ filters }: any) {
);
})}
</Stack>
</Drawer>
</Modal>
</MediaQuery>
</>
);
Expand Down

0 comments on commit 5683a1e

Please sign in to comment.