From 1af8678ae15828853519e8c84583998a9334f1b4 Mon Sep 17 00:00:00 2001 From: Matthew Chan <40180344+chanmj96@users.noreply.github.com> Date: Wed, 14 Oct 2020 17:24:36 -0700 Subject: [PATCH] fix(jest): unknown prop initialValue on input tag (#6506) --- src/core/components/initialized-input.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/components/initialized-input.jsx b/src/core/components/initialized-input.jsx index 2f4189c2..3b316861 100644 --- a/src/core/components/initialized-input.jsx +++ b/src/core/components/initialized-input.jsx @@ -26,7 +26,7 @@ export default class InitializedInput extends React.Component { // Filter out `value` and `defaultValue`, since we have our own // `initialValue` interface that we provide. // eslint-disable-next-line no-unused-vars, react/prop-types - const { value, defaultValue, ...otherProps } = this.props + const { value, defaultValue, initialValue, ...otherProps } = this.props return this.inputRef = c} /> } }