diff options
author | Shravya Ramesh <shravs1208@gmail.com> | 2021-06-18 10:51:38 -0700 |
---|---|---|
committer | Shravya Ramesh <shravs1208@gmail.com> | 2021-06-18 10:51:38 -0700 |
commit | 5449a11f4c404e505ba4369bbdbefd73eeda0be3 (patch) | |
tree | 231045489b5bb326eb8a34a5556d016654433e2b /src/components/moments/MomentPost.tsx | |
parent | ea562eff372995cf8f2cfc389d979452a3885c52 (diff) |
Add image manipulation for cropping
Diffstat (limited to 'src/components/moments/MomentPost.tsx')
-rw-r--r-- | src/components/moments/MomentPost.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/moments/MomentPost.tsx b/src/components/moments/MomentPost.tsx index 3840cb08..0f105c0d 100644 --- a/src/components/moments/MomentPost.tsx +++ b/src/components/moments/MomentPost.tsx @@ -115,7 +115,7 @@ const MomentPost: React.FC<MomentPostProps> = ({ ); const [commentPreview, setCommentPreview] = useState<MomentCommentPreviewType | null>(moment.comment_preview); - const {keyboardVisible, scrollTo} = useContext(MomentContext); + const {keyboardVisible} = useContext(MomentContext); const [hideText, setHideText] = useState(false); const [isFullScreen, setIsFullScreen] = useState<boolean>(false); |