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

@@ -27,7 +27,7 @@ import {waitFor} from '../utils/waitFor';
import {NotificationBody} from '../ui/components/NotificationBody';
import {Layout} from '../ui';
import {setStaticView} from '../reducers/connections';
import {ConnectivityHub} from '../chrome/ConnectivityHub';
import {TroubleshootingHub} from '../chrome/TroubleshootingHub';
import {setTopLevelSelection} from '../reducers/application';
export function connectFlipperServerToStore(
@@ -315,7 +315,7 @@ function showConnectivityTroubleshootNotification(
style={{float: 'right'}}
onClick={() => {
store.dispatch(setTopLevelSelection('connectivity'));
store.dispatch(setStaticView(ConnectivityHub));
store.dispatch(setStaticView(TroubleshootingHub));
notification.close(key);
}}>
Troubleshoot