1
<DrizzleProvider options={drizzleOptions}>
                <LoadingContainer>
                    <div>
                        <h1>Welcome Doctor</h1>
                        <h2>Enter your public address:</h2>
                        <ContractForm contract="Records" method="loginDoctor" labels ={['Enter your public address']}/>
                        {/* <AccountData accountIndex ={0} units={"ether"} precision={2}/> */}
                    </div>
                </LoadingContainer>

            </DrizzleProvider>
0

You also need to pass the drizzle instance and drizzleState to ContractForm

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.