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.BULLY:
|
||||||
case ReportType.EMERGENCY:
|
case ReportType.EMERGENCY:
|
||||||
case ReportType.IM:
|
case ReportType.IM:
|
||||||
case ReportType.GUIDE:
|
|
||||||
newReport.reportedUserId = options.reportedUserId;
|
newReport.reportedUserId = options.reportedUserId;
|
||||||
newReport.currentStep = ReportState.SELECT_CHATS;
|
newReport.currentStep = ReportState.SELECT_CHATS;
|
||||||
break;
|
break;
|
||||||
@ -57,6 +56,10 @@ const useHelpState = () =>
|
|||||||
break;
|
break;
|
||||||
case ReportType.PHOTO:
|
case ReportType.PHOTO:
|
||||||
break;
|
break;
|
||||||
|
case ReportType.GUIDE:
|
||||||
|
newReport.reportedUserId = options.reportedUserId;
|
||||||
|
newReport.currentStep = ReportState.REPORT_SUMMARY;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
setActiveReport(newReport);
|
setActiveReport(newReport);
|
||||||
|
Loading…
Reference in New Issue
Block a user