diff --git a/desktop/app/src/chrome/plugin-manager/PluginDebugger.tsx b/desktop/app/src/chrome/plugin-manager/PluginDebugger.tsx index 216bea34f..afc6c055f 100644 --- a/desktop/app/src/chrome/plugin-manager/PluginDebugger.tsx +++ b/desktop/app/src/chrome/plugin-manager/PluginDebugger.tsx @@ -210,73 +210,19 @@ class PluginDebugger extends Component { } render() { - let content = null; - - if (!this.props.selectedDevice) { - content = ( - - We can't find any device connected to your computer. Is an - emulator/simulator currently running on your system, or is there a - development device connected via USB? There are some devices/emulators - known to have problems connecting to Flipper. Check out the{' '} - - known incompatibilities - - . - - ); - } else if ( - !this.props.clients.some( - (client: Client) => - client.query.device_id === this.props.selectedDevice, - ) - ) { - // no clients for selected device - content = ( - - - While Flipper was able to connect to your device, it wasn't able to - connect to the app you are running on your device. For this reason, - app-specific plugins will not show up. - - {this.props.clients.length > 0 && ( - // we have clients, but not for this device - - Make sure you selected the correct device from the dropdown button - in the upper left corner. Only plugins for the selected device are - shown in the sidebar. - - )} - - To debug why Flipper couldn't establish a connection to the app, - check out our documentation about{' '} - - connection issues - - . - - - ); - } else { - content = ( - - - The table lists all plugins known to Flipper. Some of them might be - blocked by GKs, others may not show up, because none of the - connected apps are supporting it. - - - - - - ); - } - return content; + return ( + + The table lists all plugins known to Flipper. + + + + + ); } }