From 18a5a9faf2253f614fc8ee9c3a8f9113894588df Mon Sep 17 00:00:00 2001 From: Sebastian Markbage Date: Sun, 9 Apr 2023 16:36:12 -0400 Subject: [PATCH] Remove wrapperState from select wasMultiple can be derived from props instead --- .../src/client/ReactDOMComponent.js | 4 +-- .../src/client/ReactDOMSelect.js | 27 +++++++------------ 2 files changed, 11 insertions(+), 20 deletions(-) diff --git a/packages/react-dom-bindings/src/client/ReactDOMComponent.js b/packages/react-dom-bindings/src/client/ReactDOMComponent.js index 4880c7735b477..39867a227f689 100644 --- a/packages/react-dom-bindings/src/client/ReactDOMComponent.js +++ b/packages/react-dom-bindings/src/client/ReactDOMComponent.js @@ -37,7 +37,7 @@ import { initSelect, postInitSelect, restoreControlledSelectState, - postUpdateSelect, + updateSelect, } from './ReactDOMSelect'; import { initTextarea, @@ -1319,7 +1319,7 @@ export function updateProperties( } //