The text here looks wrong, since if I have no active channels I need to open a channel first.
<Row className='text-center'> { !(appCtx.listChannels?.activeChannels && appCtx.listChannels.activeChannels.length && appCtx.listChannels.activeChannels.length > 0) ? 'No transaction found. Click send/receive to start!' : 'No transaction found. Open channel to start!' }
It looks like this if statement should have the ! removed, since if you have no active channels, you need to open one before being able to send a transaction.
Steps to reproduce:
Case 1:
Open a node that has no active channels.
Expected: 'No transaction found. Open channel to start!'
Actual: 'No transaction found. Click send/receive to start!'
Case 2:
Open a node with active channels.
Expected: 'No transaction found. Click send/receive to start!'
Actual: 'No transaction found. Open channel to start!'
The text here looks wrong, since if I have no active channels I need to open a channel first.
It looks like this if statement should have the ! removed, since if you have no active channels, you need to open one before being able to send a transaction.
Steps to reproduce:
Case 1:
Expected:
'No transaction found. Open channel to start!'
Actual:'No transaction found. Click send/receive to start!'
Case 2:
Expected:
'No transaction found. Click send/receive to start!'
Actual:'No transaction found. Open channel to start!'