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:
committed by
Facebook GitHub Bot
parent
d83f3fddb2
commit
778eaf2038
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user