Don't require js for triggering file select on infractions modal
This commit is contained in:
parent
7e8fb126c4
commit
e3b90aca16
@ -128,7 +128,9 @@ export default function (props: { isOpen: boolean; onClose: () => void }) {
|
||||
<br />
|
||||
<Text>Evidence</Text>
|
||||
<Button
|
||||
onClick={() => document.getElementById("evidence")?.click()}
|
||||
as="label"
|
||||
// @ts-expect-error
|
||||
for="evidence"
|
||||
mr="8px"
|
||||
>
|
||||
Select Files
|
||||
|
Loading…
x
Reference in New Issue
Block a user