Skip to content

Commit bf832b6

Browse files
committed
Fix typo
1 parent e60a9c0 commit bf832b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,15 +170,15 @@ const MyReport = ({ accessToken, embedUrl, embedId }) => {
170170
setEmbed(reportRef, myReportConfig);
171171
}, []);
172172

173-
const handleclick = () => {
173+
const handleClick = () => {
174174
// you can use "report" from useReport like
175175
if (report) report.print();
176176
};
177177

178178
return (
179179
<div className="report-container">
180180
<div className="report" ref={reportRef} />
181-
<button onClick={handleclick}>Print my report</button>
181+
<button onClick={handleClick}>Print my report</button>
182182
</div>
183183
);
184184
};

0 commit comments

Comments
 (0)