Skip to content

Commit

Permalink
Add evm input to investor status
Browse files Browse the repository at this point in the history
  • Loading branch information
kattylucy committed Jun 18, 2024
1 parent 11c5733 commit 40d748f
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions centrifuge-app/src/pages/IssuerPool/Investors/InvestorStatus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ import {
useWallet,
} from '@centrifuge/centrifuge-react'
import {
AddressInput,
Button,
Grid,
IconAlertCircle,
IconCheckCircle,
IconInfoFailed,
IconMinus,
IconPlus,
SearchInput,
Select,
Shelf,
Stack,
Expand Down Expand Up @@ -89,19 +89,18 @@ export function InvestorStatus() {
setPendingTrancheId(trancheId)
}

function handleChange(e: React.ChangeEvent<HTMLInputElement>) {
setAddress(e.target.value)
}

return (
<PageSection
title="Investor status"
subtitle="Display investor status, and add or remove from investor memberlist."
>
<Stack gap={2}>
<Grid columns={2} gap={2} alignItems="center">
<SearchInput
name="investorStatus"
value={address}
onChange={(e) => setAddress(e.target.value)}
placeholder="Enter address..."
/>
<AddressInput label="" onChange={handleChange} />
<Select
value={chain}
options={[
Expand Down

0 comments on commit 40d748f

Please sign in to comment.