Update AmountIn.js

This commit is contained in:
Daniel
2022-11-05 15:26:07 +01:00
parent da3c8798be
commit b172fc84a5

View File

@@ -1,10 +1,10 @@
import React, { useState, useEffect, useRef } from "react"; import React, { useState, useEffect, useRef } from "react";
import { chevronDown } from "../assets"; // icon import { chevronDown } from "../assets";
import { useOnClickOutside } from "../utils"; //helps to close menu bar import { useOnClickOutside } from "../utils";
import styles from "../styles"; import styles from "../styles";
const AmountIn = () => { const AmountIn = ({ value, onChange, currencyValue, onSelect, currencies, isSwapping }) => {
const [showList, setShowList] = useState(false); const [showList, setShowList] = useState(false);
const [activeCurrency, setActiveCurrency] = useState("Select"); const [activeCurrency, setActiveCurrency] = useState("Select");
const ref = useRef() const ref = useRef()
@@ -61,9 +61,7 @@ const AmountIn = () => {
)} )}
</div> </div>
</div> </div>
) );
} };
export default AmountIn;