From 9b4ba92df514ca8c5c92c4f9279144e2c9d49e36 Mon Sep 17 00:00:00 2001 From: Shravya Ramesh <37447613+shravyaramesh@users.noreply.github.com> Date: Wed, 11 Nov 2020 11:13:48 -0800 Subject: [TMA-383] Added report button moment (#114) * Added button on individual moment page to report an issue * Report issue button disappears when clicked on and reappears when alert is closed * Small change * Moved sendReport() to a ReportingService * following user's report button now appears * Update ReportingService.ts Added alert * Added back report button * moved button back to the bottom * Small change Co-authored-by: Ashm Walia Co-authored-by: Husam Salhab <47015061+hsalhab@users.noreply.github.com> --- src/routes/profile/ProfileStack.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/routes') diff --git a/src/routes/profile/ProfileStack.tsx b/src/routes/profile/ProfileStack.tsx index cba646f8..b1e86214 100644 --- a/src/routes/profile/ProfileStack.tsx +++ b/src/routes/profile/ProfileStack.tsx @@ -23,6 +23,7 @@ export type ProfileStackParams = { IndividualMoment: { moment: MomentType; isProfileView: boolean; + username: string; }; MomentCommentsScreen: { isProfileView: boolean; -- cgit v1.2.3-70-g09d2