diff --git a/src/chrome/MainSidebar.tsx b/src/chrome/MainSidebar.tsx index c2001d95d..524e4496d 100644 --- a/src/chrome/MainSidebar.tsx +++ b/src/chrome/MainSidebar.tsx @@ -29,7 +29,7 @@ import { FlipperDevicePlugin, LoadingIndicator, } from 'flipper'; -import React, {Component, PureComponent} from 'react'; +import React, {Component, PureComponent, Fragment} from 'react'; import NotificationsHub from '../NotificationsHub'; import { selectPlugin, @@ -405,7 +405,7 @@ class MainSidebar extends PureComponent { : minShowPluginsCount, ), ).map(([category, plugins]) => ( - <> + {category && ( {category} @@ -429,7 +429,7 @@ class MainSidebar extends PureComponent { app={client.query.app} /> ))} - + ))} {plugins.length > minShowPluginsCount && (