add wallet no responding label
This commit is contained in:
parent
c67b56167b
commit
5feb7ec8c7
2 changed files with 21 additions and 34 deletions
|
|
@ -86,41 +86,17 @@ export default function ConnectPage({
|
|||
src={logo}
|
||||
alt="Zano"
|
||||
/>
|
||||
{/* <p>{connectState === "start" ? "Connect wallet app to continue" : "Type connect key from app"}</p> */}
|
||||
{/* {
|
||||
(() => {
|
||||
switch (connectState) {
|
||||
case "code": {
|
||||
return (
|
||||
<div className={s.connectCodeContent}>
|
||||
<MyInput
|
||||
inputData={{ value: keyValue, isDirty: keyIncorrect }}
|
||||
label="Connect key"
|
||||
placeholder="Enter key here"
|
||||
onChange={onKeyInput}
|
||||
/>
|
||||
<Button onClick={continueClick}>Continue</Button>
|
||||
</div>
|
||||
// <></>
|
||||
)
|
||||
}
|
||||
default: {
|
||||
return (
|
||||
<>
|
||||
<Button onClick={connectClick}>Connect</Button>
|
||||
</>
|
||||
)
|
||||
}
|
||||
}
|
||||
})()
|
||||
} */}
|
||||
<div className={s.connectCodeContent}>
|
||||
<MyInput
|
||||
type="number"
|
||||
label="Wallet port"
|
||||
placeholder="Enter port here"
|
||||
inputData={{ value: "" }}
|
||||
/>
|
||||
<div className={s.input}>
|
||||
<MyInput
|
||||
type="number"
|
||||
label="Wallet port"
|
||||
placeholder="Enter port here"
|
||||
inputData={{ value: "" }}
|
||||
/>
|
||||
{false && <p>Wallet is not responding</p>}
|
||||
</div>
|
||||
|
||||
<MyInput
|
||||
label="Wallet secret"
|
||||
placeholder="Enter secret here"
|
||||
|
|
|
|||
|
|
@ -28,5 +28,16 @@
|
|||
> button {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.input {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
|
||||
> p {
|
||||
font-size: 16px;
|
||||
color: #ff6767;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue