Commit ad418f67 authored by Muhammadali's avatar Muhammadali

update version

parent 35c794d1
...@@ -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');
...@@ -86,7 +83,7 @@ const Root = ({ data, onSetDnd }) => { ...@@ -86,7 +83,7 @@ const Root = ({ data, onSetDnd }) => {
<DefaultWidjetUi <DefaultWidjetUi
widjetState={dynamicValue} widjetState={dynamicValue}
phoneNumber={data?.number} phoneNumber={data?.number}
reason={data?.reason} reason={dataSecond?.reason}
widjetVersion={packageJson?.version} widjetVersion={packageJson?.version}
leftTime={data.lefttime} leftTime={data.lefttime}
position={data.position || 'bottomLeft'} position={data.position || 'bottomLeft'}
......
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