From 0e0eecf5d7a3bbb028bb5d165d632502d8be4555 Mon Sep 17 00:00:00 2001 From: Jimmy Chu Date: Tue, 4 Jan 2022 13:19:47 +0800 Subject: [PATCH] Fix console warning (#224) * select from available addreses dropdown * fix linter * Fix console warning message Co-authored-by: marlowl --- src/Transfer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Transfer.js b/src/Transfer.js index 6c5a04b4..7e33c88b 100644 --- a/src/Transfer.js +++ b/src/Transfer.js @@ -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) =>