Skip to content

Commit 54e50ea

Browse files
cortinicofacebook-github-bot
authored andcommitted
Always enable TurboModuleExample for RN Tester
Summary: For some reason the turbomodule example inside RN Tester was not enabled by default. I'm enabling it. Changelog: [Internal] - Always enable TurboModuleExample for RN Tester Reviewed By: cipolleschi Differential Revision: D39381821 fbshipit-source-id: 711c20a51a2f3b274f1b9396d00898b0f60a6f86
1 parent 737ce36 commit 54e50ea

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

packages/rn-tester/js/utils/RNTesterList.android.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -279,15 +279,12 @@ const APIs: Array<RNTesterModuleInfo> = [
279279
category: 'Basic',
280280
module: require('../examples/XHR/XHRExample'),
281281
},
282-
];
283-
284-
if (global.__turboModuleProxy) {
285-
APIs.push({
282+
{
286283
key: 'TurboModuleExample',
287284
category: 'Basic',
288285
module: require('../examples/TurboModule/TurboModuleExample'),
289-
});
290-
}
286+
},
287+
];
291288

292289
if (ReactNativeFeatureFlags.shouldEmitW3CPointerEvents()) {
293290
APIs.push({

0 commit comments

Comments
 (0)