Commit 93fc2d61 authored by Muhammadali's avatar Muhammadali

update-2.2.4

parent a602d479
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "2.2.3", "version": "2.2.4",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -7,8 +7,8 @@ import ModalPhoneNumpad from '../components/ModalPhoneNumpad'; ...@@ -7,8 +7,8 @@ import ModalPhoneNumpad from '../components/ModalPhoneNumpad';
import Modal from '../components/Modal'; import Modal from '../components/Modal';
import BxMiniWidjetUi from '../components/BxMiniWidjetUi'; import BxMiniWidjetUi from '../components/BxMiniWidjetUi';
import SecondNotifSip from '../components/SecondNotifSip'; import SecondNotifSip from '../components/SecondNotifSip';
// setWsphonedata;
const Root = ({ wsphonedata, onSetDnd, setData }) => { const Root = ({ wsphonedata, onSetDnd, setWsphonedata }) => {
// const [dataSecond, setDataSecond] = useState([]); // const [dataSecond, setDataSecond] = useState([]);
// if (!data) { // if (!data) {
// data = { // data = {
...@@ -65,7 +65,7 @@ const Root = ({ wsphonedata, onSetDnd, setData }) => { ...@@ -65,7 +65,7 @@ const Root = ({ wsphonedata, onSetDnd, setData }) => {
}; };
const reasonSelect = async (e) => { const reasonSelect = async (e) => {
let result = await onSetDnd(e); let result = await onSetDnd(e);
setData(result); setWsphonedata(result);
console.log('check_fetch_data: ', result); console.log('check_fetch_data: ', result);
// data = result; // data = result;
}; };
......
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