Browse Source

fix: 🐛

imwald
codytseng 10 months ago
parent
commit
e3c8dc838d
  1. 1
      src/components/NoteList/index.tsx
  2. 2
      src/layouts/SecondaryPageLayout/index.tsx

1
src/components/NoteList/index.tsx

@ -369,6 +369,7 @@ export default function NoteList({
)} )}
</div> </div>
</PullToRefresh> </PullToRefresh>
<div className="h-40" />
</div> </div>
) )
} }

2
src/layouts/SecondaryPageLayout/index.tsx

@ -46,7 +46,7 @@ const SecondaryPageLayout = forwardRef(
useEffect(() => { useEffect(() => {
if (isSmallScreen) { if (isSmallScreen) {
window.scrollTo({ top: 0 }) setTimeout(() => window.scrollTo({ top: 0 }), 0)
return return
} }
}, []) }, [])

Loading…
Cancel
Save