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
@@ -36,7 +36,7 @@ const rows = createDataSource<ConnectionRecordEntry>([], {
|
||||
persist: 'connectivity-logs',
|
||||
});
|
||||
|
||||
export function enableConnectivityHub(flipperServer: FlipperServer) {
|
||||
export function enableConnectivityHook(flipperServer: FlipperServer) {
|
||||
flipperServer.on(
|
||||
'connectivity-troubleshoot-log',
|
||||
(entry: ConnectionRecordEntry) => {
|
||||
@@ -189,7 +189,7 @@ const LogView = () => {
|
||||
);
|
||||
};
|
||||
|
||||
export function ConnectivityHub() {
|
||||
export function TroubleshootingHub() {
|
||||
return (
|
||||
<Layout.Container grow>
|
||||
<Tabs activeKey="connectivity-logs" grow>
|
||||
Reference in New Issue
Block a user