mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-24 15:36:59 +01:00
Merge pull request #7063 from BlueWallet/marcosrdz-patch-3
FIX: Total balance setting resets after restart #7062
This commit is contained in:
commit
a6b74829cf
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ export const SettingsProvider: React.FC<{ children: React.ReactNode }> = ({ chil
|
||||||
getTotalBalancePreferredUnit()
|
getTotalBalancePreferredUnit()
|
||||||
.then(unit => {
|
.then(unit => {
|
||||||
console.debug('SettingsContext totalBalancePreferredUnit:', unit);
|
console.debug('SettingsContext totalBalancePreferredUnit:', unit);
|
||||||
setTotalBalancePreferredUnit(unit);
|
setTotalBalancePreferredUnitState(unit);
|
||||||
})
|
})
|
||||||
.catch(error => console.error('Error fetching total balance preferred unit:', error));
|
.catch(error => console.error('Error fetching total balance preferred unit:', error));
|
||||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
|
|
Loading…
Add table
Reference in a new issue