Skip to content

Commit

Permalink
tiny fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JasminDreasond committed Sep 27, 2024
1 parent 67e3769 commit ea4d403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/atoms/audio/AudioEmbed.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const AudioEmbed = React.forwardRef(
preload={preload}
ref={ref}
className={className}
type={typeof type === 'string' && videoFormats.indexOf(type) > -1 ? type : null}
type={typeof type === 'string' && audioFormats.indexOf(type) > -1 ? type : null}
>
{Array.isArray(src)
? src.map((item) => (
Expand Down

0 comments on commit ea4d403

Please sign in to comment.