Skip to content

Commit

Permalink
[Flare] Re-label Flare flag (#16014)
Browse files Browse the repository at this point in the history
  • Loading branch information
renawolford6 committed Jun 28, 2019
1 parent 212dbab commit 5392c48
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ReactTestHostConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import warning from 'shared/warning';

import type {ReactEventComponentInstance} from 'shared/ReactTypes';

import {enableEventAPI} from 'shared/ReactFeatureFlags';
import {enableFlareAPI} from 'shared/ReactFeatureFlags';

export type Type = string;
export type Props = Object;
Expand Down Expand Up @@ -124,7 +124,7 @@ export function getChildHostContext(
export function getChildHostContextForEventComponent(
parentHostContext: HostContext,
): HostContext {
if (__DEV__ && enableEventAPI) {
if (__DEV__ && enableFlareAPI) {
return EVENT_COMPONENT_CONTEXT;
}
return NO_CONTEXT;
Expand Down Expand Up @@ -201,7 +201,7 @@ export function createTextInstance(
hostContext: Object,
internalInstanceHandle: Object,
): TextInstance {
if (__DEV__ && enableEventAPI) {
if (__DEV__ && enableFlareAPI) {
warning(
hostContext !== EVENT_COMPONENT_CONTEXT,
'validateDOMNesting: React event components cannot have text DOM nodes as children. ' +
Expand Down

0 comments on commit 5392c48

Please sign in to comment.