diff --git a/packages/frontend/src/components/projects/create/Configure.tsx b/packages/frontend/src/components/projects/create/Configure.tsx index 0eaf4721..cd4edb05 100644 --- a/packages/frontend/src/components/projects/create/Configure.tsx +++ b/packages/frontend/src/components/projects/create/Configure.tsx @@ -5,13 +5,14 @@ import { useNavigate, useSearchParams } from 'react-router-dom'; import { useMediaQuery } from 'usehooks-ts'; import { AddEnvironmentVariableInput, AuctionParams, Deployer } from 'gql-client'; +import { Select, MenuItem, FormControl, FormHelperText } from '@mui/material'; + import { ArrowRightCircleFilledIcon, LoadingIcon, } from 'components/shared/CustomIcon'; import { Heading } from '../../shared/Heading'; import { Button } from '../../shared/Button'; -import { Select, SelectOption } from 'components/shared/Select'; import { Input } from 'components/shared/Input'; import { useToast } from 'components/shared/Toast'; import { useGQLClient } from '../../../context/GQLClientContext'; @@ -206,24 +207,14 @@ const Configure = () => { control={methods.control} render={({ field: { value, onChange } }) => ( )} /> @@ -240,21 +231,26 @@ const Configure = () => { name="lrn" control={methods.control} rules={{ required: true }} - render={({ field: { value, onChange } }) => ( - onChange(event.target.value)} + displayEmpty + size='small' + + > + {deployers.map((deployer) => ( + + {deployer.deployerLrn} + + ))} + + {fieldState.error && {fieldState.error.message}} + )} /> diff --git a/packages/frontend/src/components/projects/project/overview/Activity/AuctionCard.tsx b/packages/frontend/src/components/projects/project/overview/Activity/AuctionCard.tsx index aea84caa..291bc7ff 100644 --- a/packages/frontend/src/components/projects/project/overview/Activity/AuctionCard.tsx +++ b/packages/frontend/src/components/projects/project/overview/Activity/AuctionCard.tsx @@ -17,6 +17,16 @@ import { Button, Heading, Tag } from 'components/shared'; const WAIT_DURATION = 5000; +const DIALOG_STYLE = { + backgroundColor: 'rgba(0,0,0, .9)', + padding: '2em', + borderRadius: '0.5em', + marginLeft: '0.5em', + marginRight: '0.5em', + color: 'gray', + fontSize: 'small', +}; + export const AuctionCard = ({ project }: { project: Project }) => { const [auctionStatus, setAuctionStatus] = useState(''); const [deployers, setDeployers] = useState([]); @@ -140,7 +150,7 @@ export const AuctionCard = ({ project }: { project: Project }) => { maxWidth="md" > Auction Details - + {auctionDetails && (
{JSON.stringify(auctionDetails, null, 2)}
)}