Commit c575a298 authored by Muhammadali's avatar Muhammadali

update-

parent d1b5a0dc
{
"name": "boxdialer",
"version": "2.7.1",
"version": "2.7.2",
"description": "",
"main": "src/boxDialer.js",
"scripts": {
......
......@@ -3,7 +3,12 @@
import React, { useEffect, useState } from 'react';
import Block, { Input, ModalDropDown } from './style.js';
const CallHistoryInputDropdown = ({ inputValue, call_history, selectFunc }) => {
const CallHistoryInputDropdown = ({
inputValue,
call_history,
selectFunc,
numberSelectHistory,
}) => {
const [modal, setModal] = useState(false);
useEffect(() => {
......@@ -17,9 +22,7 @@ const CallHistoryInputDropdown = ({ inputValue, call_history, selectFunc }) => {
setModal(false);
};
useEffect(() => {
}, [inputValue]);
useEffect(() => {}, [inputValue]);
return (
<Block>
......@@ -36,6 +39,7 @@ const CallHistoryInputDropdown = ({ inputValue, call_history, selectFunc }) => {
<ModalDropDown.Inset id='data'>
{call_history.reverse().map((value, index) => (
<p
style={{ border: '1px solid red' }}
className='item'
key={index}
onClick={() => selectFuncInset(value)}>
......
......@@ -211,6 +211,7 @@ const ModalPhoneNumpad = ({
call_history={call_history}
inputValue={inputValue}
selectFunc={selectFunc}
numberSelectHistory={numberSelectHistory}
/>
{inputValue.length ? (
<Input.BackSpaceIcon
......
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