mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-15 12:50:47 +02:00
Remove close channel button
This commit is contained in:
parent
bff44f3448
commit
18918c563f
1 changed files with 1 additions and 16 deletions
|
|
@ -252,21 +252,6 @@ export default function LightningNodePage() {
|
|||
)
|
||||
}
|
||||
|
||||
function CloseChannelButton() {
|
||||
return (
|
||||
<>
|
||||
<Grid item xs={12}>
|
||||
<div className={classes.root}>
|
||||
<Button
|
||||
variant="contained"
|
||||
>Close Channel
|
||||
</Button>
|
||||
</div>
|
||||
</Grid>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
function NodeInfoGridItem() {
|
||||
return (
|
||||
<Grid item xs={12}>
|
||||
|
|
@ -347,7 +332,7 @@ export default function LightningNodePage() {
|
|||
{HasChannelToPeer()}
|
||||
</Typography>
|
||||
{hasChannelToPeer()
|
||||
? CloseChannelButton()
|
||||
? ""
|
||||
: OpenChannelButton()
|
||||
}
|
||||
</Grid>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue