Skip to content

Commit

Permalink
add description field
Browse files Browse the repository at this point in the history
  • Loading branch information
ipatka committed Feb 16, 2023
1 parent 3948685 commit 196b429
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ const FRAMEWORK_URIs = {
governanceURI: ''
},
moloch: {
membersURI: '',
membersURI: (address, network) => `https://placeholder.daostar.org/api/v1/gnosis/members/${network}/${address}`,
activityURI: '',
proposalsURI: '',
governanceURI: ''
},
safe: {
membersURI: '',
membersURI: (address, network) => `https://services.daostar.org/api/v1/gnosis/members/${network}/${address}`,
// membersURI: `https://services.daostar.org/api/v1/gnosis/members/{network}/{address}`,
activityURI: '',
proposalsURI: '',
governanceURI: ''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ const RegistrationForm = ({
const [daoName, setDaoName] = useState('');
const onChangeDaoName = (e) => setDaoName(e.target.value);

const [daoDescription, setDaoDescription] = useState('');
const onChangeDaoDescription = (e) => setDaoDescription(e.target.value);

const [daoMembersURI, setDaoMembersURI] = useState('');
const onChangeMembersURI = (e) => setDaoMembersURI(e.target.value);

Expand Down Expand Up @@ -95,6 +98,7 @@ const RegistrationForm = ({
let registrationData = {
data: {
name: daoName,
description: daoDescription,
governanceURI: daoGovURI,
}
}
Expand Down Expand Up @@ -199,6 +203,21 @@ const RegistrationForm = ({
/>
</FormGroup>
</div>
<div className='wizard-row'>
<FormGroup
label='Description'
labelFor='description'
fill
>
<InputGroup
fill
id='description'
placeholder='Enter DAO description'
value={daoDescription}
onChange={onChangeDaoDescription}
/>
</FormGroup>
</div>
<div className='wizard-row'>
<FormGroup
label='Framework'
Expand Down

0 comments on commit 196b429

Please sign in to comment.