diff --git a/desktop/flipper-ui-core/src/chrome/TroubleshootingHub.tsx b/desktop/flipper-ui-core/src/chrome/TroubleshootingHub.tsx index ef25e007974..4334fc3b8b7 100644 --- a/desktop/flipper-ui-core/src/chrome/TroubleshootingHub.tsx +++ b/desktop/flipper-ui-core/src/chrome/TroubleshootingHub.tsx @@ -9,29 +9,43 @@ import {Layout} from '../ui'; import React from 'react'; -import {Tab, Tabs} from 'flipper-plugin'; +import {Tabs} from 'flipper-plugin'; import SetupDoctorScreen from '../sandy-chrome/SetupDoctorScreen'; import {ConsoleLogs} from './ConsoleLogs'; import {FlipperMessages} from './FlipperMessages'; import {ConnectivityLogs} from './ConnectivityLogs'; export function TroubleshootingHub() { + const items = React.useMemo( + () => [ + { + key: 'environment-check', + label: 'Environment Check', + children: ( + {}} /> + ), + }, + { + key: 'connectivity-logs', + label: 'Connectivity Logs', + children: , + }, + { + key: 'console-logs', + label: 'Console Logs', + children: , + }, + { + key: 'messages', + label: 'Messages', + children: , + }, + ], + [], + ); return ( - - - {}} /> - - - - - - - - - - - + ); }