🐛 Fix input background not properly set
This commit is contained in:
@ -67,7 +67,7 @@ export const UploadButton = ({
|
||||
id="file-input"
|
||||
display="none"
|
||||
onChange={handleInputChange}
|
||||
accept={fileType === 'image' ? '.jpg, .jpeg, .png, .gif' : '.mp3, .wav'}
|
||||
accept={fileType === 'image' ? 'image/*' : 'audio/*'}
|
||||
/>
|
||||
<Button
|
||||
as="label"
|
||||
|
Reference in New Issue
Block a user