Commit 46808b6a authored by Muhammadali's avatar Muhammadali

update-

parent 27803cd1
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "2.3.7", "version": "2.3.8",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
import React, { useState } from 'react'; import React, { useState } from 'react';
import DropDownStyle from './style'; import DropDownStyle from './style';
import { useTranslator } from '@eo-locale/react'; import { Text, useTranslator } from '@eo-locale/react';
const DropDown = ({ reasons, reason, selectFunc }) => { const DropDown = ({ reasons, reason, selectFunc }) => {
const translator = useTranslator(); const translator = useTranslator();
...@@ -16,7 +16,8 @@ const DropDown = ({ reasons, reason, selectFunc }) => { ...@@ -16,7 +16,8 @@ const DropDown = ({ reasons, reason, selectFunc }) => {
<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()} />
</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