Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
Fix scroll to top behavior in feed
Browse files Browse the repository at this point in the history
This reverts commit 07476df.
  • Loading branch information
ericvicenti committed Apr 5, 2024
1 parent b8b4d00 commit 887e1dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/packages/app/pages/feed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ const Feed = React.memo(function Feed({tab}: {tab: 'trusted' | 'all'}) {
<Button
size="$2"
onPress={() => {
// scrollRef.current?.scrollTo({top: 0})
scrollRef.current?.scrollTo({top: 0})
feed.refetch()
}}
icon={ChevronUp}
Expand Down

0 comments on commit 887e1dc

Please sign in to comment.