mirror of
https://github.com/billsonnn/nitro-react.git
synced 2025-01-18 21:36:27 +01:00
Change ReportState to REPORT_SUMMARY
This commit is contained in:
parent
22696b93b9
commit
e5c782a149
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user