Commit bc3a2277 authored by Muhammadali's avatar Muhammadali

update-

parent 5fb0afc7
{
"name": "boxdialer",
"version": "4.8.46",
"version": "4.8.47",
"description": "",
"main": "src/boxDialer.js",
"scripts": {
......
......@@ -13,6 +13,7 @@ import { contextModalEventProperty } from '../context/modalEventProperty';
const Root = ({ wsphonedata, onSetDnd, setWsphonedata, callMethod }) => {
const boxDialer = window.BoxDialer;
const [callEvents, setCallEvents] = useContext(contextModalEventProperty);
const [phoneModal, setPhoneModal] = useState(false);
const [dynamicValue, setDynamicValue] = useState('pending');
const [modalState, setModalState] = useState(false);
......@@ -24,11 +25,6 @@ const Root = ({ wsphonedata, onSetDnd, setWsphonedata, callMethod }) => {
from: '',
});
const [callEvents, setCallEvents] = useContext(
typeof contextModalEventProperty == 'undefined'
? {}
: contextModalEventProperty,
);
console.log('state_callEvents: ', callEvents);
// const [callEvents, setCallEvents] = useState(null);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment