Skip to content

Commit

Permalink
Fixed build errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahSaso committed Oct 4, 2023
1 parent e15951b commit e44ed62
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/state/recoil/selectors/contracts/DaoCore.v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1280,7 +1280,7 @@ export const valenceAccountSelector = selectorFamily<
},
targets: [
{
timestamp: new Date(0),
timestamp: 0,
target: 0.75,
},
],
Expand All @@ -1292,7 +1292,7 @@ export const valenceAccountSelector = selectorFamily<
},
targets: [
{
timestamp: new Date(0),
timestamp: 0,
target: 0.25,
},
],
Expand Down
9 changes: 6 additions & 3 deletions packages/stateful/components/dao/DaoTreasuryHistoryGraph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,13 @@ export const DaoTreasuryHistoryGraph = ({
...data,

pointRadius:
('pointRadius' in data ? Number(data.pointRadius) : undefined) ?? 1,
('pointRadius' in data
? Number((data as any).pointRadius)
: undefined) ?? 1,
pointHitRadius:
('pointHitRadius' in data ? Number(data.pointHitRadius) : undefined) ??
10,
('pointHitRadius' in data
? Number((data as any).pointHitRadius)
: undefined) ?? 10,
})
)

Expand Down

0 comments on commit e44ed62

Please sign in to comment.