mirror of
https://github.com/Permissionless-Software-Foundation/psf-memo-client.git
synced 2026-09-22 17:22:02 -07:00
Minor balance spinner style change
This commit is contained in:
@@ -11,3 +11,10 @@
|
||||
.main-content {
|
||||
flex: 1 0 auto;
|
||||
}
|
||||
|
||||
.balance-spinner-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
@@ -20,7 +20,12 @@ function GetBalance (props) {
|
||||
if (!textInput) return
|
||||
if (!textInput.includes('bitcoincash:')) return
|
||||
|
||||
setBalance(<span>Retrieving balance... <Spinner animation='border' /></span>)
|
||||
setBalance(
|
||||
<div className='balance-spinner-container'>
|
||||
<span>Retrieving balance...</span>
|
||||
<Spinner animation='border' />
|
||||
</div>
|
||||
)
|
||||
|
||||
const balance = await wallet.getBalance({ bchAddress: textInput })
|
||||
console.log('balance: ', balance)
|
||||
|
||||
Reference in New Issue
Block a user