From ced4bb94b621afc7782ac1936cbdf719372ba0cb Mon Sep 17 00:00:00 2001 From: Joshua Baroni Date: Mon, 17 Aug 2020 08:20:09 -0400 Subject: [PATCH] Update legend.jsx bugfix React 15.5.0 --- src/legend.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/legend.jsx b/src/legend.jsx index 326f346..38d24ff 100644 --- a/src/legend.jsx +++ b/src/legend.jsx @@ -3,9 +3,9 @@ import { default as React, Component, - PropTypes, } from 'react'; +import PropTypes from 'prop-types' import D3Selection from 'd3-selection' import D3Scale from 'd3-scale' import ReactFauxDOM from 'react-faux-dom';