diff options
author | Shravya Ramesh <shravs1208@gmail.com> | 2021-07-22 14:57:16 -0700 |
---|---|---|
committer | Shravya Ramesh <shravs1208@gmail.com> | 2021-07-22 14:57:16 -0700 |
commit | 14c151ba80672938fecd4768b30f5812bd0a996e (patch) | |
tree | 5fb031c2dfc147146358d10a14a8cca40e466db2 /src | |
parent | b7acbd4ba2bf3441240a164703d83c68aabefd1a (diff) |
Remove unused var
Diffstat (limited to 'src')
-rw-r--r-- | src/components/moments/MomentPost.tsx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/components/moments/MomentPost.tsx b/src/components/moments/MomentPost.tsx index 3a96fe9a..0504052b 100644 --- a/src/components/moments/MomentPost.tsx +++ b/src/components/moments/MomentPost.tsx @@ -89,7 +89,6 @@ const MomentPost: React.FC<MomentPostProps> = ({ moment.moment_url.endsWith('gif') ); const mediaHeight = SCREEN_WIDTH / aspectRatio; - const [viewCount, setViewCount] = useState<number>(moment.view_count); /* * Load tags on initial render to pass tags data to moment header and content |