From a57cf95954ed63a2e5bc204d73e39475ab765873 Mon Sep 17 00:00:00 2001 From: Guilherme Barbosa Ferreira Date: Sun, 7 Jan 2024 03:07:11 -0300 Subject: [PATCH] fix: fix a bug while openning filters modal --- app/src/components/modals/BaseBottomSheet/index.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/components/modals/BaseBottomSheet/index.jsx b/app/src/components/modals/BaseBottomSheet/index.jsx index dfa56d78..e8a9ee23 100644 --- a/app/src/components/modals/BaseBottomSheet/index.jsx +++ b/app/src/components/modals/BaseBottomSheet/index.jsx @@ -20,6 +20,7 @@ export const BaseBottomSheet = ({ handleComponent = null, background = 'white', isLoading, + onChange = () => {} }) => { useEffect(() => { bottomSheetRef.current?.present(); @@ -48,6 +49,7 @@ export const BaseBottomSheet = ({ handleComponent={handleComponent} overDragResistanceFactor={overDragResistanceFactor} backgroundStyle={{ backgroundColor: background }} + onChange={onChange} >