diff --git a/packages/nextjs/components/loogies/auction/Auction.tsx b/packages/nextjs/components/loogies/auction/Auction.tsx index 1da0b1f..da8f7a6 100644 --- a/packages/nextjs/components/loogies/auction/Auction.tsx +++ b/packages/nextjs/components/loogies/auction/Auction.tsx @@ -1,11 +1,14 @@ import React, { useState } from "react"; import { Modal } from "../Modal"; +import { AuctionBidLists } from "./AuctionBidLists"; import { AuctionBids } from "./AuctionBids"; import { AuctionDetails } from "./AuctionDetails"; import LoogieComponent from "~~/components/loogies"; +import { EtherInput } from "~~/components/scaffold-eth"; export const Auction = () => { const [showModal, setShowModal] = useState(false); + const [ethAmount, SetEthAmount] = useState(""); const handleCloseModal = () => { setShowModal(false); @@ -21,12 +24,7 @@ export const Auction = () => {
- - {/* console.log("hi")} value="0.1" disabled={false} /> */} + SetEthAmount(amount)} value={ethAmount} disabled={false} />
@@ -44,8 +42,7 @@ export const Auction = () => { {showModal && ( - - + )} diff --git a/packages/nextjs/components/loogies/auction/AuctionBidLists.tsx b/packages/nextjs/components/loogies/auction/AuctionBidLists.tsx new file mode 100644 index 0000000..e491509 --- /dev/null +++ b/packages/nextjs/components/loogies/auction/AuctionBidLists.tsx @@ -0,0 +1,11 @@ +import React from "react"; +import { AuctionBids } from "./AuctionBids"; + +export const AuctionBidLists = () => { + return ( + <> + + + + ); +}; diff --git a/packages/nextjs/components/loogies/auction/AuctionBids.tsx b/packages/nextjs/components/loogies/auction/AuctionBids.tsx index dc2ec26..4a0b0b8 100644 --- a/packages/nextjs/components/loogies/auction/AuctionBids.tsx +++ b/packages/nextjs/components/loogies/auction/AuctionBids.tsx @@ -5,7 +5,7 @@ export const AuctionBids = ({ address, amount }: { address: string; amount: numb return (
-

{amount}

+

{amount} Ξ

); }; diff --git a/packages/nextjs/components/scaffold-eth/Input/EtherInput.tsx b/packages/nextjs/components/scaffold-eth/Input/EtherInput.tsx index fb23526..8268896 100644 --- a/packages/nextjs/components/scaffold-eth/Input/EtherInput.tsx +++ b/packages/nextjs/components/scaffold-eth/Input/EtherInput.tsx @@ -110,7 +110,7 @@ export const EtherInput = ({ placeholder={placeholder} onChange={handleChangeNumber} disabled={disabled} - prefix={{internalUsdMode ? "$" : "Ξ"}} + prefix={{internalUsdMode ? "$" : "Ξ"}} suffix={
} diff --git a/packages/nextjs/components/scaffold-eth/Input/InputBase.tsx b/packages/nextjs/components/scaffold-eth/Input/InputBase.tsx index cf57692..5352511 100644 --- a/packages/nextjs/components/scaffold-eth/Input/InputBase.tsx +++ b/packages/nextjs/components/scaffold-eth/Input/InputBase.tsx @@ -47,10 +47,10 @@ export const InputBase = string } | undefined = str }, [reFocus]); return ( -
+
{prefix}