Fix React compiler warnings: was using wrong PropType for validating function props, and was not typecasting limit prop on CandidateIndex so it was being passed as a string.
Rename getInitialState to getState to fix warning and avoid confusion with the React.createClass lifecycle method of the same name.
Fix issue where SVG data-URLs were getting improperly quoted and not appearing in browser.
Changes
Squashes some :bug:s:
limit
prop on CandidateIndex so it was being passed as a string.getInitialState
togetState
to fix warning and avoid confusion with theReact.createClass
lifecycle method of the same name.For review: @DoSomething/front-end