Commit 46808b6a authored by Muhammadali's avatar Muhammadali

update-

parent 27803cd1
{
"name": "boxdialer",
"version": "2.3.7",
"version": "2.3.8",
"description": "",
"main": "src/boxDialer.js",
"scripts": {
......
......@@ -2,7 +2,7 @@
import React, { useState } from 'react';
import DropDownStyle from './style';
import { useTranslator } from '@eo-locale/react';
import { Text, useTranslator } from '@eo-locale/react';
const DropDown = ({ reasons, reason, selectFunc }) => {
const translator = useTranslator();
......@@ -16,7 +16,8 @@ const DropDown = ({ reasons, reason, selectFunc }) => {
<DropDownStyle.DropDown visiblevalue={visible} className={'nocopy'}>
{reasons.map((value, index) => (
<div className='select' key={index} onClick={() => selectFunc(value)}>
{translator.translate(value.toUpperCase())}
{/* {translator.translate(value.toUpperCase())} */}
<Text id={value.toUpperCase()} />
</div>
))}
</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