aboutsummaryrefslogtreecommitdiff
path: root/src/components/moments/MomentPost.tsx
diff options
context:
space:
mode:
authorBrian Kim <brian@tagg.id>2021-06-19 03:06:15 +0900
committerBrian Kim <brian@tagg.id>2021-06-19 03:06:15 +0900
commit5e021bada5b082ee40195399778bf68bbca3d97b (patch)
tree00b0e9e864d3fe93d611397a5301f1026b9af900 /src/components/moments/MomentPost.tsx
parent1c84e16b3fc9ea891d8ed11c65aa904e637ea434 (diff)
parent45b46077191c0515c250b592b9da11ae42d46f51 (diff)
Merge branch 'image-cropper' of github-brian-tagg:shravyaramesh/Frontend into image-cropper
Diffstat (limited to 'src/components/moments/MomentPost.tsx')
-rw-r--r--src/components/moments/MomentPost.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/moments/MomentPost.tsx b/src/components/moments/MomentPost.tsx
index 427ef09a..1a0dc981 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);