Commit e065a4c1 authored by Muhammadali's avatar Muhammadali

update

parent 127c73f4
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "2.1.5", "version": "2.1.6",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -33,7 +33,11 @@ const ControlRenderBX = () => { ...@@ -33,7 +33,11 @@ const ControlRenderBX = () => {
// default: // default:
// return <Root setData={setData} data={data} />; // return <Root setData={setData} data={data} />;
// } // }
return <Root setData={testFunc} data={data} />; return (
<div>
<Root setData={testFunc} data={data} />
</div>
);
}; };
export default ControlRenderBX; export default ControlRenderBX;
...@@ -61,7 +61,7 @@ const Root = ({ data, onSetDnd, setData }) => { ...@@ -61,7 +61,7 @@ const Root = ({ data, onSetDnd, setData }) => {
}; };
window.setWSData = (result) => { window.setWSData = (result) => {
console.log('window_setWSData'); console.log('window_setWSData');
setData(result); // setData(result);
}; };
const reasonSelect = async (e) => { const reasonSelect = async (e) => {
let result = await onSetDnd(e); let result = await onSetDnd(e);
......
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