Change ReportState to REPORT_SUMMARY

This commit is contained in:
oobjectt 2022-12-13 01:58:20 +01:00
parent 22696b93b9
commit e5c782a149

View File

@ -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);