Add event photo search deletion
This commit is contained in:
parent
0551881365
commit
dd055ccb56
|
|
@ -304,7 +304,7 @@ setSearchResults(data.data.matches ?? []);
|
|||
ref={fileInputRef}
|
||||
type="file"
|
||||
multiple
|
||||
accept="image/jpeg,image/png,image/gif,image/webp,image/bmp"
|
||||
accept="image/jpeg,image/png,image/jpg"
|
||||
style={{ display: 'none' }}
|
||||
onChange={(e) => {
|
||||
const selected = Array.from(e.target.files || []);
|
||||
|
|
@ -312,7 +312,7 @@ setSearchResults(data.data.matches ?? []);
|
|||
}}
|
||||
/>
|
||||
<p style={{ marginTop: 8, fontSize: 'var(--text-xs)', color: 'var(--muted)' }}>
|
||||
Supported: JPEG, PNG, GIF, WEBP, BMP
|
||||
Supported: JPEG, PNG, JPG
|
||||
</p>
|
||||
</div>
|
||||
<button
|
||||
|
|
@ -351,7 +351,7 @@ setSearchResults(data.data.matches ?? []);
|
|||
<input
|
||||
ref={queryFileInputRef}
|
||||
type="file"
|
||||
accept="image/jpeg,image/png,image/gif,image/webp"
|
||||
accept="image/jpeg,image/png,image/jpg"
|
||||
style={{ display: 'none' }}
|
||||
onChange={(e) => {
|
||||
const f = e.target.files?.[0] || null;
|
||||
|
|
|
|||
Loading…
Reference in New Issue