fix: dashboard graph dataplots going off grid
fix: inconsistencies between eligible transactions on graphs
This commit is contained in:
parent
d5ddf5f74f
commit
10ac63cc6c
3 changed files with 35 additions and 28 deletions
|
|
@ -24,7 +24,7 @@ const Graph = ({ data, timeFrame, timezone }) => {
|
|||
top: 20,
|
||||
right: 0.5,
|
||||
bottom: 27,
|
||||
left: 43.5
|
||||
left: 33.5
|
||||
}),
|
||||
[]
|
||||
)
|
||||
|
|
@ -63,7 +63,7 @@ const Graph = ({ data, timeFrame, timezone }) => {
|
|||
)
|
||||
|
||||
const filterDay = useCallback(
|
||||
x => (timeFrame === 'day' ? x.getUTCHours() === 0 : x.getUTCDate() === 1),
|
||||
x => (timeFrame === 'Day' ? x.getUTCHours() === 0 : x.getUTCDate() === 1),
|
||||
[timeFrame]
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue