Commit 27803cd1 authored by Muhammadali's avatar Muhammadali

update-

parent 3b3ce751
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "2.3.6", "version": "2.3.7",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -7,10 +7,7 @@ import { useTranslator } from '@eo-locale/react'; ...@@ -7,10 +7,7 @@ import { useTranslator } from '@eo-locale/react';
const DropDown = ({ reasons, reason, selectFunc }) => { const DropDown = ({ reasons, reason, selectFunc }) => {
const translator = useTranslator(); const translator = useTranslator();
const [visible, setVisible] = useState(0); const [visible, setVisible] = useState(0);
console.log( console.log('translator.translate', translator.translate('FREE'));
'translator.translate',
translator.translate(value.toUpperCase()),
);
return ( return (
<DropDownStyle <DropDownStyle
onClick={() => setVisible(visible ? 0 : 1)} onClick={() => setVisible(visible ? 0 : 1)}
......
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