From 76bfbbedfd42a6f6d204276552fdabcd0e8f84ff Mon Sep 17 00:00:00 2001 From: Brian Kim Date: Fri, 21 May 2021 16:26:20 -0700 Subject: Change onPress to onPressIn --- src/components/profile/Cover.tsx | 2 +- src/components/profile/TaggAvatar.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/components/profile/Cover.tsx b/src/components/profile/Cover.tsx index 2b6268a6..8137188b 100644 --- a/src/components/profile/Cover.tsx +++ b/src/components/profile/Cover.tsx @@ -88,7 +88,7 @@ const Cover: React.FC = ({userXId, screenType}) => { handleNewImage()}> + onPressIn={() => handleNewImage()}> Add Picture diff --git a/src/components/profile/TaggAvatar.tsx b/src/components/profile/TaggAvatar.tsx index 8ccae2ef..daaf19eb 100644 --- a/src/components/profile/TaggAvatar.tsx +++ b/src/components/profile/TaggAvatar.tsx @@ -88,7 +88,7 @@ const TaggAvatar: React.FC = ({ handleNewImage()}> + onPressIn={() => handleNewImage()}> )} -- cgit v1.2.3-70-g09d2