Skip to content

Commit

Permalink
[FIX] chart errors
Browse files Browse the repository at this point in the history
  • Loading branch information
victorbalssa committed Jan 15, 2023
1 parent 84b3870 commit 9118515
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/models/firefly.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ export default createModel<RootModel>()({
.filter((e, i) => i % 2 === 0)
.filter((e, i) => i % 2 === 0)
.map((key) => {
const value = accounts[index].entries[key];
const value = parseFloat(accounts[index].entries[key]);
const date = new Date(key);

return {
Expand All @@ -302,7 +302,7 @@ export default createModel<RootModel>()({
};
})
: Object.keys(v.entries).map((key) => {
const value = accounts[index].entries[key];
const value = parseFloat(accounts[index].entries[key]);
const date = new Date(key);

return {
Expand Down

0 comments on commit 9118515

Please sign in to comment.