Skip to content

Commit

Permalink
add MusicBackground
Browse files Browse the repository at this point in the history
  • Loading branch information
janibehm committed Oct 17, 2023
2 parents 367f0ed + 15561e5 commit 9f9dac1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import { ReactComponent as SpeakerOffIcon } from './SpeakerOffIcon.svg';
import musicBackground from './sounds/backgroundMusic.mp3';
import click from './sounds/click.wav';

const musicBackground = new Audio(backgroundMusic);

class App extends Component {
constructor(props) {
super(props);
Expand Down

0 comments on commit 9f9dac1

Please sign in to comment.