Commit 93fc2d61 authored by Muhammadali's avatar Muhammadali

update-2.2.4

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