Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
fix: chart missing line
Browse files Browse the repository at this point in the history
  • Loading branch information
sotatek-huytran committed Jul 15, 2024
1 parent 5642fb5 commit 2ce871a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Home/Trending/TransactionChart/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ const Chart = ({ data, range }: { data: TransactionChartIF[] | null; range: Time
tickLine={{ stroke: themeMode === "light" ? theme.palette.secondary.light : theme.palette.secondary[800] }}
dataKey="date"
tickFormatter={(date: string) => formatX(date, range)}
minTickGap={isLanrgeScreen ? 15 : 5}
minTickGap={isLanrgeScreen ? 15 : 3}
/>
<YAxis
tick={{ fill: themeMode === "light" ? theme.palette.secondary.light : theme.palette.secondary[800] }}
Expand Down

0 comments on commit 2ce871a

Please sign in to comment.