From e5c782a14989308c41b1c207bbfa10e2908b4cfb Mon Sep 17 00:00:00 2001 From: oobjectt Date: Tue, 13 Dec 2022 01:58:20 +0100 Subject: [PATCH] Change ReportState to REPORT_SUMMARY --- src/hooks/help/useHelp.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/hooks/help/useHelp.ts b/src/hooks/help/useHelp.ts index 14600b28..996e8e34 100644 --- a/src/hooks/help/useHelp.ts +++ b/src/hooks/help/useHelp.ts @@ -35,7 +35,6 @@ const useHelpState = () => case ReportType.BULLY: case ReportType.EMERGENCY: case ReportType.IM: - case ReportType.GUIDE: newReport.reportedUserId = options.reportedUserId; newReport.currentStep = ReportState.SELECT_CHATS; break; @@ -57,6 +56,10 @@ const useHelpState = () => break; case ReportType.PHOTO: break; + case ReportType.GUIDE: + newReport.reportedUserId = options.reportedUserId; + newReport.currentStep = ReportState.REPORT_SUMMARY; + break; } setActiveReport(newReport);