Skip to content

Commit

Permalink
fix: reset app settings to fix currency
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfreska committed Dec 15, 2023
1 parent 4fa92b8 commit 7455359
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/tough-chairs-sit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'hostd': minor
'renterd': minor
---

Fixed an issue where currency was displayed with too many decimals.
2 changes: 1 addition & 1 deletion libs/react-core/src/useAppSettings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function useAppSettingsMain({
() => getDefaultSettings(overrideDefaultSettings),
[overrideDefaultSettings]
)
const [_settings, _setSettings] = useLocalStorageState('v0/settings', {
const [_settings, _setSettings] = useLocalStorageState('v1/settings', {
defaultValue: customDefaultSettings,
})
// Merge in defaults incase new settings have been introduced
Expand Down

0 comments on commit 7455359

Please sign in to comment.