Commit f9b1cd87 authored by Muhammadali's avatar Muhammadali

update

parent 9ee0f200
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "1.9.6", "version": "1.9.7",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -9,7 +9,6 @@ import BxMiniWidjetUi from '../components/BxMiniWidjetUi'; ...@@ -9,7 +9,6 @@ import BxMiniWidjetUi from '../components/BxMiniWidjetUi';
import SecondNotifSip from '../components/SecondNotifSip'; import SecondNotifSip from '../components/SecondNotifSip';
const Root = ({ data, onSetDnd }) => { const Root = ({ data, onSetDnd }) => {
let localValue = localStorage.getItem('activeValue') || false;
const [stateData, setStateData] = useState({}); const [stateData, setStateData] = useState({});
if (!data) { if (!data) {
...@@ -36,7 +35,7 @@ const Root = ({ data, onSetDnd }) => { ...@@ -36,7 +35,7 @@ const Root = ({ data, onSetDnd }) => {
if (data || window.alovoice_wsphone) { if (data || window.alovoice_wsphone) {
setStateData(data); setStateData(data);
} }
}, [window?.alovoice_wsphone, data]); });
console.log('stateData:', stateData, data); console.log('stateData:', stateData, data);
const [phoneModal, setPhoneModal] = useState(false); const [phoneModal, setPhoneModal] = useState(false);
......
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