diff --git a/package.json b/package.json index e4abf8737d3724c942d50340d3604bd08bbff113..6007823de9015a31414d21fa938b0db485ada801 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "boxdialer", - "version": "1.0.2", + "version": "1.0.3", "description": "", "main": "src/boxDialer.js", "scripts": { diff --git a/src/components/ModalPhoneNumpad/index.jsx b/src/components/ModalPhoneNumpad/index.jsx index b72e9e973349b0affb2922250d33620492d3fafd..ed7dda595bd9755699996d842ef11f8b69acbb60 100644 --- a/src/components/ModalPhoneNumpad/index.jsx +++ b/src/components/ModalPhoneNumpad/index.jsx @@ -95,7 +95,6 @@ const ModalPhoneNumpad = ({ }; const handleKeyUp = useCallback( (event) => { - console.log(event); gameState.toggleCP(event); }, [gameState.toggleCP], diff --git a/src/components/TimerUi/index.jsx b/src/components/TimerUi/index.jsx index a027fa9228bbb4ae3d0590caf556131fab28e1dc..ddb13ad5ff4b3c587e03448adf773ec5ee2ad6dc 100644 --- a/src/components/TimerUi/index.jsx +++ b/src/components/TimerUi/index.jsx @@ -4,14 +4,12 @@ import React, { useEffect, useState } from 'react'; import { intervalToDuration } from 'date-fns'; const TimerUi = ({ reason, time }) => { - console.log(reason, time, 'dsahfhfghgf'); const boxDialer = window.BoxDialer; const [dndTimer, setDndTimer] = useState(time); useEffect(() => { if (reason !== 'free') { var intervalId = setInterval(() => { - console.log('ticking'); setDndTimer((prevCount) => prevCount + 1); }, 1000); return () => clearInterval(intervalId); diff --git a/src/lib/boxDIaler.js b/src/lib/boxDIaler.js index fa2b7a50c43d5a71c1cb69964fe416e3ea75760e..99ab8632bd58805fefb1c9577aeda12bda9fbcad 100644 --- a/src/lib/boxDIaler.js +++ b/src/lib/boxDIaler.js @@ -89,7 +89,6 @@ export class BoxDialer { } startTimer() { - console.log('start timer'); this.testTimer = setInterval(() => { this.timer.time = this.timer.time + 1; this.onSipStateChange.setDndTimer(this.timer.time); @@ -115,7 +114,6 @@ export class BoxDialer { if (bool) { this.ringtone.pause(); this.ringtone.remove(); - console.log(this.ringtone, 'sound ringtone'); this.ringtone.play(); } else { @@ -193,7 +191,6 @@ export class BoxDialer { { name: 'Organization', value: 'Technounit' }, ], }; - console.log('ostackConfig: ', ostackConfig); this.oSipStack = new SIPml.Stack(ostackConfig); if (this.oSipStack.start() !== 0) {