Skip to content

Commit

Permalink
fix: adjusted some appointments
Browse files Browse the repository at this point in the history
  • Loading branch information
maiconloure committed Oct 25, 2023
1 parent f3b1abc commit a59e85e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/sound/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const SoundButton: React.FC<SoundButtonProps> = ({ sound }) => {
id,
volume: parseFloat(volume),
active: true,
loaded: true
loaded: false
}
}
})
Expand Down Expand Up @@ -138,7 +138,6 @@ export const SoundButton: React.FC<SoundButtonProps> = ({ sound }) => {
ref={soundRef}
onCanPlay={() => setSoundState({ ...localSoundState, loaded: true })}
preload="auto"
autoPlay
loop
>
<source src={sound.file.url} type={sound.file.type} />
Expand Down

0 comments on commit a59e85e

Please sign in to comment.