Skip to content

Commit 11c1681

Browse files
Add useMemo import to renderCustomHeaderTwoMonths.js
1 parent 9ea27ad commit 11c1681

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs-site/src/examples/renderCustomHeaderTwoMonths.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import React, { useState, useMemo } from "react";
2+
13
() => {
24
const [startDate, setStartDate] = useState(new Date());
35
const monthsShown = useMemo(() => 2, []);

0 commit comments

Comments
 (0)