Add instructions for WL > Execute > Add/Remove Members
This commit is contained in:
parent
80bec18cc7
commit
fd54468d06
@ -1,3 +1,4 @@
|
|||||||
|
import { Alert } from 'components/Alert'
|
||||||
import { Button } from 'components/Button'
|
import { Button } from 'components/Button'
|
||||||
import { Conditional } from 'components/Conditional'
|
import { Conditional } from 'components/Conditional'
|
||||||
import { ContractPageHeader } from 'components/ContractPageHeader'
|
import { ContractPageHeader } from 'components/ContractPageHeader'
|
||||||
@ -74,8 +75,8 @@ const WhitelistExecutePage: NextPage = () => {
|
|||||||
members: [
|
members: [
|
||||||
...new Set(
|
...new Set(
|
||||||
addressListState.values
|
addressListState.values
|
||||||
.map((a) => a.address)
|
.map((a) => a.address.trim())
|
||||||
.filter((address) => address !== '' && isValidAddress(address) && address.startsWith('stars'))
|
.filter((address) => address !== '' && isValidAddress(address.trim()) && address.startsWith('stars'))
|
||||||
.concat(memberList),
|
.concat(memberList),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
@ -155,6 +156,9 @@ const WhitelistExecutePage: NextPage = () => {
|
|||||||
subtitle="Enter the member addresses"
|
subtitle="Enter the member addresses"
|
||||||
title="Addresses"
|
title="Addresses"
|
||||||
/>
|
/>
|
||||||
|
<Alert className="mt-8" type="info">
|
||||||
|
You may optionally choose a text file of additional member addresses.
|
||||||
|
</Alert>
|
||||||
<WhitelistUpload onChange={setMemberList} />
|
<WhitelistUpload onChange={setMemberList} />
|
||||||
</Conditional>
|
</Conditional>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user