From 166ee2dd223ef1b84052eb38cb74c5e9a63ccd46 Mon Sep 17 00:00:00 2001 From: cha0s Date: Fri, 26 Jun 2020 04:09:37 -0500 Subject: [PATCH] chore: refactor --- src/client/value.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/client/value.jsx b/src/client/value.jsx index 02bb347..720d74d 100644 --- a/src/client/value.jsx +++ b/src/client/value.jsx @@ -45,7 +45,9 @@ Value.propTypes = { value: PropTypes.shape({}).isRequired, }; +const Component = decorate(Value); + export default { type: 'value', - Component: decorate(Value), + Component, };