// import { createEffect } from 'solid-js' // import { DialogLabel } from '../icons/Web3StorageIconSVG' // export const SetupDialog = ( // { // submitted, // handleAuthorizeSubmit, // email, // setEmail, // registeringSpace, // tryRegisterSpace, // unloadAgent, // keyringSpaceBuster, // keyring, // w3, // }, // ) => { // let dialogRef // createEffect(async () => { // const agentProps = ['agentcode', 'devicename', 'username'] // let isAgentStringSetup = false // for (const prop of agentProps) { // if (localStorage.getItem(`agent.${prop}`)) isAgentStringSetup = true // } // // console.log({ isAgentStringSetup, dialogRef }) // if (!isAgentStringSetup && dialogRef) dialogRef.show() // }) // return ( // <> // { // dialogRef?.show() // }} // size='small' // > //
//
// {keyring?.account ? 'web3' : 'Set up!'} //
// // // // // // ) // }