StephenGrider/ReduxCasts

Uncaught ReferenceError: SparkLinesLine is not defined

snphillips opened this issue · 1 comments

At section 5) lesson 65) Adding Sparkline Charts I am getting the below error after I input a city name, then hit the submit button. After reading through some of these older issues and the Q&A, have tried uninstalling and installing react-sparklines in the following ways, with no luck:

$ npm install --save react-sparklines
$ npm install --save react-sparklines@1.70
$ npm install --save react-sparklines@1.60
$ npm install --save react-sparklines@1.42

sparklinesline-error

After reviewing my code, Bobby pointed out that I had a typo...I spelled SparklinesLine incorrectly, with a capital L.

I had this: <SparkLinesLine color={props.color}/>
It should be this: <SparklinesLine color={props.color}/>