🐛 (audioBubble) Remove .ogg upload option because of Safari incompatibility
This commit is contained in:
@@ -44,9 +44,7 @@ export const UploadButton = ({
|
|||||||
display="none"
|
display="none"
|
||||||
onChange={handleInputChange}
|
onChange={handleInputChange}
|
||||||
accept={
|
accept={
|
||||||
fileType === 'image'
|
fileType === 'image' ? '.jpg, .jpeg, .png, .svg, .gif' : '.mp3, .wav'
|
||||||
? '.jpg, .jpeg, .png, .svg, .gif'
|
|
||||||
: '.mp3, .wav, .ogg'
|
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ export const AudioBubbleForm = ({
|
|||||||
onChange={submit}
|
onChange={submit}
|
||||||
/>
|
/>
|
||||||
<Text fontSize="sm" color="gray.400" textAlign="center">
|
<Text fontSize="sm" color="gray.400" textAlign="center">
|
||||||
Works with .MP3s, .WAVs and .OGGs
|
Works with .MP3s and .WAVs
|
||||||
</Text>
|
</Text>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user