Skip to content

Commit

Permalink
Update InitialSettingsPage.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Krishna2323 authored Apr 16, 2024
1 parent 619cc7e commit 12b2256
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pages/settings/InitialSettingsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -485,8 +485,7 @@ function InitialSettingsPage({session, userWallet, bankAccountList, fundList, wa
ref={scrollViewRef}
onScroll={onScroll}
scrollEventThrottle={16}
// We use marginTop to prevent glitching on the initial frame that renders before scrollTo.
contentContainerStyle={[!isAfterOnLayout && !!scrollOffset && {marginTop: -scrollOffset}, styles.w100, styles.pt4]}
contentContainerStyle={[styles.w100, styles.pt4]}
>
{headerContent}
{accountMenuItems}
Expand Down

0 comments on commit 12b2256

Please sign in to comment.