Commit e28a7b08 authored by Muhammadali's avatar Muhammadali

update

parent 62d020c2
...@@ -14,7 +14,7 @@ const Root = ({ data, onSetDnd }) => { ...@@ -14,7 +14,7 @@ const Root = ({ data, onSetDnd }) => {
// localStorage.setItem('activeValue', +localValue + 1); // localStorage.setItem('activeValue', +localValue + 1);
// else localStorage.setItem('activeValue', 1); // else localStorage.setItem('activeValue', 1);
// }, []); // }, []);
const [dataSecond, setDataSecond] = useState([]); const [dataSecond, setDataSecond] = useState({});
if (!data) { if (!data) {
data = { data = {
iscloud: true, iscloud: true,
...@@ -34,9 +34,6 @@ const Root = ({ data, onSetDnd }) => { ...@@ -34,9 +34,6 @@ const Root = ({ data, onSetDnd }) => {
data = window.alovoice_wsphone; data = window.alovoice_wsphone;
onSetDnd = window.alovoice_onsetdnd; onSetDnd = window.alovoice_onsetdnd;
} }
useEffect(() => {
console.log(data, 'data');
}, [data.reason]);
const [phoneModal, setPhoneModal] = useState(false); const [phoneModal, setPhoneModal] = useState(false);
const [dynamicValue, setDynamicValue] = useState('pending'); const [dynamicValue, setDynamicValue] = useState('pending');
......
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