File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
packages/webapp/src/components/pages/document/layouts Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ import BottomSheet from '@components/BottomSheet'
1111import useVirtualKeyboard from '@hooks/useVirtualKeyboard'
1212import ToolbarMobile from '../components/toolbarMobile/ToolbarMobile'
1313
14- const MobileLeftSidePanel = ( { filterModalRef } : any ) => {
14+ const MobileLeftSidePanel = ( ) => {
1515 return (
1616 < ModalDrawer modalId = "mobile_left_side_panel" width = { 80 } >
17- < TocModal filterModalRef = { filterModalRef } />
17+ < TocModal />
1818 </ ModalDrawer >
1919 )
2020}
@@ -26,7 +26,6 @@ const MobileLayout = () => {
2626 }
2727 } = useStore ( ( state ) => state )
2828
29- const filterModalRef = useRef < HTMLDivElement > ( null )
3029 const deviceClass = isMobile ? 'm_mobile' : 'm_desktop'
3130
3231 const isHistoryView = useHashRouter ( )
@@ -39,7 +38,7 @@ const MobileLayout = () => {
3938 < div className = "sticky top-0 z-20 w-full bg-white" >
4039 < MobilePadTitle />
4140 </ div >
42- < MobileLeftSidePanel filterModalRef = { filterModalRef } />
41+ < MobileLeftSidePanel />
4342 < MobileEditor />
4443 < EditFAB />
4544 < BottomSheet />
You can’t perform that action at this time.
0 commit comments