From 4f1a1ea57e2dcd0e8cf648fb58b42e191f411837 Mon Sep 17 00:00:00 2001 From: deniz kusefoglu Date: Fri, 26 Jan 2018 12:41:20 -0800 Subject: [PATCH] Add missing proptype --- ui/src/shared/components/PersistentLegend.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/shared/components/PersistentLegend.js b/ui/src/shared/components/PersistentLegend.js index fbae383a0e..2a6f28917c 100644 --- a/ui/src/shared/components/PersistentLegend.js +++ b/ui/src/shared/components/PersistentLegend.js @@ -35,7 +35,7 @@ class PersistentLegend extends Component { } } -const {func} = PropTypes +const {func, shape} = PropTypes PersistentLegend.propTypes = {dygraph: shape({})}