From 8d6cf188693de4dee1f694deb14ed3f1a080f451 Mon Sep 17 00:00:00 2001 From: Marie-Laure Thuret Date: Mon, 9 Oct 2017 15:47:20 +0200 Subject: [PATCH] fix(List): remove React16 warning (#442) --- packages/react-instantsearch/src/components/List.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-instantsearch/src/components/List.js b/packages/react-instantsearch/src/components/List.js index e7c6209cde..7680443ccd 100644 --- a/packages/react-instantsearch/src/components/List.js +++ b/packages/react-instantsearch/src/components/List.js @@ -29,7 +29,7 @@ class List extends Component { canRefine: PropTypes.bool, }; - defaultProps = { + static defaultProps = { isFromSearch: false, };