From c150b41546bb2695c27354ec4f245d7d41a49743 Mon Sep 17 00:00:00 2001 From: hypnos Date: Mon, 21 Aug 2017 23:49:00 +0300 Subject: [PATCH] Fix new eslint error --- addons/knobs/src/components/PropField.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/knobs/src/components/PropField.js b/addons/knobs/src/components/PropField.js index 16c04ef35af..a9bf1ac80b6 100644 --- a/addons/knobs/src/components/PropField.js +++ b/addons/knobs/src/components/PropField.js @@ -65,6 +65,6 @@ PropField.propTypes = { knob: PropTypes.shape({ name: PropTypes.string, value: PropTypes.any, - }), + }).isRequired, onChange: PropTypes.func.isRequired, };