Skip to content

Commit a23886a

Browse files
committed
docs: update example
1 parent 9309197 commit a23886a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/line/src/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react";
22
import ReactDOM from "react-dom";
3-
import { timeDay } from "d3";
3+
// import { timeDay } from "d3";
44

55
import { Chart } from "react-charts";
66

@@ -29,8 +29,8 @@ export default function App() {
2929
primary: true,
3030
type: "time",
3131
position: "bottom",
32-
filterTicks: (ticks) =>
33-
ticks.filter((date) => +timeDay.floor(date) === +date),
32+
// filterTicks: (ticks) =>
33+
// ticks.filter((date) => +timeDay.floor(date) === +date),
3434
},
3535
{ type: "linear", position: "left" },
3636
],

0 commit comments

Comments
 (0)