Set tab active keys and active tab

Summary: ^

Reviewed By: antonk52

Differential Revision: D47868895

fbshipit-source-id: 381e704a7d1d2d1d67c1b4cf2bf482996927b783
This commit is contained in:
Lorenzo Blasa
2023-07-28 05:34:45 -07:00
committed by Facebook GitHub Bot
parent 1b5b4e94f2
commit 7cb91807d3

View File

@@ -193,16 +193,16 @@ export function ConnectivityHub() {
return ( return (
<Layout.Container grow> <Layout.Container grow>
<Tabs grow> <Tabs grow>
<Tab tab="Environment Check"> <Tab tab="Environment Check" tabKey="environment-check">
<SetupDoctorScreen visible modal={false} onClose={() => {}} /> <SetupDoctorScreen visible modal={false} onClose={() => {}} />
</Tab> </Tab>
<Tab tab="Connectivity Logs"> <Tab tab="Connectivity Logs" tabKey="connectivity-logs" active>
<LogView /> <LogView />
</Tab> </Tab>
<Tab tab="Console Logs"> <Tab tab="Console Logs" tabKey="console-logs">
<ConsoleLogs /> <ConsoleLogs />
</Tab> </Tab>
<Tab tab="Messages"> <Tab tab="Messages" tabKey="messages">
<FlipperMessages /> <FlipperMessages />
</Tab> </Tab>
</Tabs> </Tabs>