Skip to content

Commit

Permalink
🐛 (audioBubble) Remove .ogg upload option because of Safari incompati…
Browse files Browse the repository at this point in the history
…bility
  • Loading branch information
baptisteArno committed Nov 20, 2022
1 parent c7fde1d commit e09adf5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ export const UploadButton = ({
display="none"
onChange={handleInputChange}
accept={
fileType === 'image'
? '.jpg, .jpeg, .png, .svg, .gif'
: '.mp3, .wav, .ogg'
fileType === 'image' ? '.jpg, .jpeg, .png, .svg, .gif' : '.mp3, .wav'
}
/>
<Button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const AudioBubbleForm = ({
onChange={submit}
/>
<Text fontSize="sm" color="gray.400" textAlign="center">
Works with .MP3s, .WAVs and .OGGs
Works with .MP3s and .WAVs
</Text>
</>
)}
Expand Down

0 comments on commit e09adf5

Please sign in to comment.