Commit 137be97c authored by Muhammadali's avatar Muhammadali

update-

parent 11d39396
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "2.4.3", "version": "2.4.4",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -12,13 +12,14 @@ const DropDown = ({ reasons, reason, selectFunc }) => { ...@@ -12,13 +12,14 @@ const DropDown = ({ reasons, reason, selectFunc }) => {
onClick={() => setVisible(visible ? 0 : 1)} onClick={() => setVisible(visible ? 0 : 1)}
className='nocopy'> className='nocopy'>
<DropDownStyle.Text> <DropDownStyle.Text>
<Text id={reason.toUpperCase()} /> {/* <Text id={reason.toUpperCase()} /> */}
{translator.translate(reason.toUpperCase())}
</DropDownStyle.Text> </DropDownStyle.Text>
<DropDownStyle.DropDown visiblevalue={visible} className={'nocopy'}> <DropDownStyle.DropDown visiblevalue={visible} className={'nocopy'}>
{reasons.map((value, index) => ( {reasons.map((value, index) => (
<div className='select' key={index} onClick={() => selectFunc(value)}> <div className='select' key={index} onClick={() => selectFunc(value)}>
{/* {translator.translate(value.toUpperCase())} */} {translator.translate(value.toUpperCase())}
<Text id={value.toUpperCase()} /> {/* <Text id={value.toUpperCase()} /> */}
</div> </div>
))} ))}
</DropDownStyle.DropDown> </DropDownStyle.DropDown>
......
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