aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShravya Ramesh <shravs1208@gmail.com>2021-07-22 14:57:16 -0700
committerShravya Ramesh <shravs1208@gmail.com>2021-07-22 14:57:16 -0700
commit14c151ba80672938fecd4768b30f5812bd0a996e (patch)
tree5fb031c2dfc147146358d10a14a8cca40e466db2
parentb7acbd4ba2bf3441240a164703d83c68aabefd1a (diff)
Remove unused var
-rw-r--r--src/components/moments/MomentPost.tsx1
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