Skip to content

Commit

Permalink
disable contract address field for custom framework
Browse files Browse the repository at this point in the history
  • Loading branch information
Rashmi-278 committed Oct 4, 2023
1 parent 57da568 commit 13daa30
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { Fragment, useEffect, useState } from 'react'

import validator from 'validator'
import useAxios from 'axios-hooks'
import { Button, Callout, Divider, FormGroup, HTMLSelect, InputGroup } from '@blueprintjs/core'
Expand Down Expand Up @@ -262,6 +263,7 @@ const RegistrationForm = ({ toggleRegScreen, setRegistrationData }) => {
placeholder="Enter DAO address or id (eg ENS for snapshot)"
value={daoContractAddress}
onChange={onChangeDaoContractAddress}
disabled={ daoFramework !== 'custom' ? false : true}
/>
</div>
<div className="wizard-row">
Expand Down

0 comments on commit 13daa30

Please sign in to comment.