Skip to content

Commit

Permalink
Fix console warning (#224)
Browse files Browse the repository at this point in the history
* select from available addreses dropdown

* fix linter

* Fix console warning message

Co-authored-by: marlowl <[email protected]>
  • Loading branch information
Jimmy Chu and marlowl authored Jan 4, 2022
1 parent b376ab1 commit 0e0eecf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Transfer.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useSubstrate } from './substrate-lib';

export default function Main (props) {
const [status, setStatus] = useState(null);
const [formState, setFormState] = useState({ addressTo: null, amount: 0 });
const [formState, setFormState] = useState({ addressTo: '', amount: 0 });
const { accountPair } = props;

const onChange = (_, data) =>
Expand Down

0 comments on commit 0e0eecf

Please sign in to comment.