Update AmountIn.js
This commit is contained in:
14
packages/react-app/src/components/AmountIn.js
vendored
14
packages/react-app/src/components/AmountIn.js
vendored
@@ -1,10 +1,10 @@
|
||||
import React, { useState, useEffect, useRef } from "react";
|
||||
|
||||
import { chevronDown } from "../assets"; // icon
|
||||
import { useOnClickOutside } from "../utils"; //helps to close menu bar
|
||||
import { chevronDown } from "../assets";
|
||||
import { useOnClickOutside } from "../utils";
|
||||
import styles from "../styles";
|
||||
|
||||
const AmountIn = () => {
|
||||
const AmountIn = ({ value, onChange, currencyValue, onSelect, currencies, isSwapping }) => {
|
||||
const [showList, setShowList] = useState(false);
|
||||
const [activeCurrency, setActiveCurrency] = useState("Select");
|
||||
const ref = useRef()
|
||||
@@ -61,9 +61,7 @@ const AmountIn = () => {
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
|
||||
);
|
||||
};
|
||||
|
||||
export default AmountIn;
|
||||
|
||||
Reference in New Issue
Block a user