Skip to content

Commit 9705fff

Browse files
authored
Merge pull request #9 from sytraore/main
Fixed CI pipeline issue
2 parents 9e82179 + 63f0abf commit 9705fff

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

apps/frontend/src/App.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ function App() {
3838
useEffect(() => {
3939
const unlockAudio = () => {
4040
const silent = new Audio('data:audio/mp3;base64,SUQzBAAAAAABEVRYWFgAAAAtAAADY29tbWVudABCaWdTb3VuZEJhbmsuY29tIC8gTGFTb25vdGhlcXVlLm9yZwBURU5DAAAAHQAAA1N3aXRjaCBQbHVzIMHumPMHBgAAA');
41-
silent.play().catch(() => {});
41+
silent.play().catch(() => {
42+
// Ignore audio unlock errors
43+
});
4244
document.body.removeEventListener('click', unlockAudio);
4345
document.body.removeEventListener('touchend', unlockAudio);
4446
};

0 commit comments

Comments
 (0)