aboutsummaryrefslogtreecommitdiff
path: root/src/components/profile/PublicProfile.tsx
diff options
context:
space:
mode:
authorLeon Jiang <35908040+leonyjiang@users.noreply.github.com>2021-04-03 15:29:56 -0400
committerLeon Jiang <35908040+leonyjiang@users.noreply.github.com>2021-04-03 15:29:56 -0400
commit268c93e705e3d3808ab5353497354f390230d29d (patch)
tree2159132a21f9eb5acd80a9cc882c2893b7e81f49 /src/components/profile/PublicProfile.tsx
parent0415067b5199e0bbbdb0cbef709b3c1993bb02c8 (diff)
Fix search bar animation & search screen styles
Diffstat (limited to 'src/components/profile/PublicProfile.tsx')
-rw-r--r--src/components/profile/PublicProfile.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/profile/PublicProfile.tsx b/src/components/profile/PublicProfile.tsx
index 88e0ecd1..5f9b0b99 100644
--- a/src/components/profile/PublicProfile.tsx
+++ b/src/components/profile/PublicProfile.tsx
@@ -99,7 +99,7 @@ const PublicProfile: React.FC<ContentProps> = ({
scrollViewRef.current
) {
setScrollEnabled(false);
- scrollViewRef.current.getNode().scrollTo({y: 0});
+ scrollViewRef.current.scrollTo({y: 0});
navigation.navigate('MomentUploadPrompt', {
screenType,
momentCategory: momentCategories[0],