File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import ReportGeneratorButton from '../../components/ReportGeneratorButton';
55import { ReportType } from '../../types/Report' ;
66import { ALERT_NOT_LOGGED_IN } from '../../constants/messages' ;
77
8- const REQUIRED_REPORT_TYPE = ReportType . PKEY ;
98
109const PrizeInfoPage : React . FC = ( ) => {
1110 const { token, user } = useContext ( AuthContext ) ;
@@ -30,15 +29,15 @@ const PrizeInfoPage: React.FC = () => {
3029 onChange = { ( e : React . ChangeEvent < HTMLInputElement > ) => setFile ( e . currentTarget . files ?. [ 0 ] ?? null ) }
3130 />
3231 < Form . Text className = "text-muted" >
33- Select the prize info CSV file to generate the PKEY report.
32+ Select the prize info CSV file to generate the Prize Tickets report.
3433 </ Form . Text >
3534 </ Form . Group >
3635 < div className = "d-flex gap-2" >
3736 < ReportGeneratorButton < File >
38- requiredReportType = { REQUIRED_REPORT_TYPE }
37+ requiredReportType = { ReportType . PKEY }
3938 token = { token }
4039 user = { user }
41- buttonText = "Generate PKEY Sheets "
40+ buttonText = "Generate Prize Tickets "
4241 disabled = { ! file }
4342 modalEnabled = { false }
4443 defaultFormData = { file as File }
You can’t perform that action at this time.
0 commit comments