diff --git a/public/sound.mp3 b/public/sound.mp3 new file mode 100644 index 00000000..5d1e6a91 Binary files /dev/null and b/public/sound.mp3 differ diff --git a/src/context/Global.tsx b/src/context/Global.tsx index aa8cb707..fb494544 100644 --- a/src/context/Global.tsx +++ b/src/context/Global.tsx @@ -125,6 +125,9 @@ const GlobalProvider = (props: { children: any }) => { const notify = (type: string, message: string) => { setNotificationType(type); setNotification(message); + const audio = new Audio("/sound.mp3"); + audio.volume = 0.2; + audio.play(); }; const fetchPairs = (asset: string = BTC) => {