Commit 11d39396 authored by Muhammadali's avatar Muhammadali

update-

parent d39a85bd
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "2.4.2", "version": "2.4.3",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -3,11 +3,10 @@ ...@@ -3,11 +3,10 @@
import React, { useState } from 'react'; import React, { useState } from 'react';
import DropDownStyle from './style'; import DropDownStyle from './style';
import { Text, 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();
const [visible, setVisible] = useState(0); const [visible, setVisible] = useState(0);
console.log('translator_translate', translator.translate('FREE')); console.log('translator_translate', translator.translate('free'));
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