We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d32deae commit af6f895Copy full SHA for af6f895
src/ReactTestHostConfig.js
@@ -149,11 +149,11 @@ export function createInstance(
149
): Instance {
150
let propsToUse = props;
151
if (enableFlareAPI) {
152
- if (props.listeners != null) {
153
- // We want to remove the "listeners" prop
+ if (props.DEPRECATED_flareListeners != null) {
+ // We want to remove the "DEPRECATED_flareListeners" prop
154
// as we don't want it in the test renderer's
155
// instance props.
156
- const {listeners, ...otherProps} = props; // eslint-disable-line
+ const {DEPRECATED_flareListeners, ...otherProps} = props; // eslint-disable-line
157
propsToUse = otherProps;
158
}
159
0 commit comments