Merge internal and external troubleshooting pages into one with optional internal-only content
Summary: Merged internal and external troubleshooting pages into one with optional internal-only content Reviewed By: mweststrate Differential Revision: D23651656 fbshipit-source-id: 330dd4b5cb49ae403a0a3760c1e23e30e56ad190
This commit is contained in:
committed by
Facebook GitHub Bot
parent
12d7b48443
commit
8425db7b8b
@@ -97,8 +97,7 @@ module.exports = {
|
||||
],
|
||||
},
|
||||
'fb-internal': {
|
||||
'FB Internal': fbInternalOnly([
|
||||
'fb/troubleshooting',
|
||||
'FB Internal': fbInternalOnly([
|
||||
'fb/Add-flipper-to-android-app',
|
||||
'fb/Adding-flipper-to-ios-app',
|
||||
'fb/LauncherConfig',
|
||||
|
||||
@@ -17,6 +17,9 @@ function createElement(createElement) {
|
||||
if (React.isValidElement(createElement)) {
|
||||
return createElement;
|
||||
}
|
||||
if (typeof createElement === 'string') {
|
||||
return createElement;
|
||||
}
|
||||
const element = createElement();
|
||||
if (React.isValidElement(element)) {
|
||||
return element;
|
||||
|
||||
Reference in New Issue
Block a user