Minor balance spinner style change

This commit is contained in:
Daniel Gonzalez
2025-01-24 16:42:26 -04:00
parent 13ff58180d
commit d08b8cf6c6
2 changed files with 13 additions and 1 deletions
+7
View File
@@ -11,3 +11,10 @@
.main-content {
flex: 1 0 auto;
}
.balance-spinner-container {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
}
+6 -1
View File
@@ -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)