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

2
src/layouts/SecondaryPageLayout/index.tsx

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

Loading…
Cancel
Save