Skip to content

Commit 70e91d9

Browse files
committed
grammar fix
1 parent b970cdd commit 70e91d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ class ChartComponent extends React.Component {
160160

161161
if (shouldWarn && !this.hasWarned) {
162162
this.hasWarned = true; // Only warn once per chart so console isn't spammed with warnings
163-
console.error('[react-chartjs-2] Warning: Each dataset need a unique key. By default, the "label" property on each dataset is used. Alternatively, you may provide a "datasetKeyProvider" as a prop that returns a unique key.');
163+
console.error('[react-chartjs-2] Warning: Each dataset needs a unique key. By default, the "label" property on each dataset is used. Alternatively, you may provide a "datasetKeyProvider" as a prop that returns a unique key.');
164164
}
165165

166166
// process the updates (via a reverse for loop so we can safely splice deleted datasets out of the array

0 commit comments

Comments
 (0)