Overdue refactor for TroubleshootingHub

Summary: It's troubleshooting in general, not only connectivity. So rename and refactor accordingly.

Reviewed By: antonk52

Differential Revision: D47914411

fbshipit-source-id: 658563bfd33427f11fe9f7660b0985fc3f013866
This commit is contained in:
Lorenzo Blasa
2023-07-31 07:02:16 -07:00
committed by Facebook GitHub Bot
parent d83f3fddb2
commit 778eaf2038
4 changed files with 8 additions and 8 deletions

View File

@@ -71,7 +71,7 @@ import {
import {StatusMessage} from './appinspect/AppInspect';
import {TroubleshootingGuide} from './appinspect/fb-stubs/TroubleshootingGuide';
import {FlipperDevTools} from '../chrome/FlipperDevTools';
import {ConnectivityHub} from '../chrome/ConnectivityHub';
import {TroubleshootingHub} from '../chrome/TroubleshootingHub';
export const Navbar = withTrackingScope(function Navbar() {
const {topLevelSelection, selectedDevice, selectedAppId, selectedPlugin} =
@@ -516,7 +516,7 @@ function TroubleshootMenu() {
key="connectivity"
onClick={() => {
store.dispatch(setTopLevelSelection('connectivity'));
store.dispatch(setStaticView(ConnectivityHub));
store.dispatch(setStaticView(TroubleshootingHub));
}}>
Troubleshoot Connectivity
</Menu.Item>