mirror of
https://github.com/jambonz/chrome-extension-dialer.git
synced 2025-12-19 04:47:45 +00:00
fix
This commit is contained in:
@@ -8,7 +8,6 @@ export default class DialPadAudioElements {
|
||||
chrome.runtime.getURL(`audios/dtmf-${encodeURIComponent(i)}.mp3`)
|
||||
);
|
||||
const audio = this.keySounds[i];
|
||||
console.log({ i, audio }, "xquanluu");
|
||||
if (audio) {
|
||||
audio.volume = 0.5;
|
||||
}
|
||||
|
||||
@@ -30,7 +30,6 @@ export const DialPad = ({ handleDigitPress }: DialPadProbs) => {
|
||||
useEffect(() => {
|
||||
document.addEventListener("keydown", handleKeyDown);
|
||||
return () => {
|
||||
console.log("xquanluu1231");
|
||||
document.removeEventListener("keydown", handleKeyDown);
|
||||
};
|
||||
}, []);
|
||||
|
||||
Reference in New Issue
Block a user