From a4d9a5fe38aaa4b6347edfb942375fa882f53ad7 Mon Sep 17 00:00:00 2001 From: Shravya Ramesh Date: Mon, 21 Jun 2021 13:44:51 -0700 Subject: Move code to header component --- src/components/moments/MomentPost.tsx | 38 +---------------------------------- 1 file changed, 1 insertion(+), 37 deletions(-) (limited to 'src') diff --git a/src/components/moments/MomentPost.tsx b/src/components/moments/MomentPost.tsx index 1a0dc981..c010e2cb 100644 --- a/src/components/moments/MomentPost.tsx +++ b/src/components/moments/MomentPost.tsx @@ -128,43 +128,7 @@ const MomentPost: React.FC = ({ navigation.setOptions({ ...headerBarOptions('white', ''), headerTitle: () => ( - - - 18 - ? normalize(14) - : normalize(16), - }, - ]}> - {moment.moment_category} - - - + ), }), [moment.moment_id], -- cgit v1.2.3-70-g09d2