From 4075cdde7fd094f14996cd9abb3d157bb6761f19 Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 9 Aug 2019 18:59:57 +0100 Subject: [PATCH] lint --- src/components/views/elements/Field.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/views/elements/Field.js b/src/components/views/elements/Field.js index 554d5d6181..b432bd0b8f 100644 --- a/src/components/views/elements/Field.js +++ b/src/components/views/elements/Field.js @@ -138,6 +138,7 @@ export default class Field extends React.PureComponent { render() { const { element, prefix, onValidate, children, tooltip, ...inputProps } = this.props; + !tooltip; // needs to be removed from props but we don't need it here, so otherwise unused variable const inputElement = element || "input";