added more report options (2)
All checks were successful
Release to Staging / build_and_release (push) Successful in 44s

This commit is contained in:
freakoverse 2024-08-28 17:40:33 +00:00
parent aa9884b9fa
commit d9f0972961

View File

@ -513,7 +513,9 @@ const ReportPopup = ({ aTag, handleClose }: ReportPopupProps) => {
spam: false, spam: false,
scam: false, scam: false,
notAGameMod: false, notAGameMod: false,
stolenGameMod: false stolenGameMod: false,
wasntTaggedNSFW: false,
otherReason: false
}) })
const [isLoading, setIsLoading] = useState(false) const [isLoading, setIsLoading] = useState(false)
const [loadingSpinnerDesc, setLoadingSpinnerDesc] = useState('') const [loadingSpinnerDesc, setLoadingSpinnerDesc] = useState('')
@ -712,6 +714,30 @@ const ReportPopup = ({ aTag, handleClose }: ReportPopupProps) => {
onChange={() => handleCheckboxChange('stolenGameMod')} onChange={() => handleCheckboxChange('stolenGameMod')}
/> />
</div> </div>
<div className='inputLabelWrapperMain inputLabelWrapperMainAlt'>
<label className='form-label labelMain'>
Wasn't tagged NSFW
</label>
<input
type='checkbox'
className='CheckboxMain'
name='reportOption'
checked={selectedOptions.wasntTaggedNSFW}
onChange={() => handleCheckboxChange('wasntTaggedNSFW')}
/>
</div>
<div className='inputLabelWrapperMain inputLabelWrapperMainAlt'>
<label className='form-label labelMain'>
Other reason
</label>
<input
type='checkbox'
className='CheckboxMain'
name='reportOption'
checked={selectedOptions.otherReason}
onChange={() => handleCheckboxChange('otherReason')}
/>
</div>
</div> </div>
<button <button
className='btn btnMain pUMCB_Report' className='btn btnMain pUMCB_Report'