From b42b8d755f9ab4e27bc86c1596a03dd0d9c2992b Mon Sep 17 00:00:00 2001 From: Kareem Olim Date: Mon, 21 Nov 2022 20:25:21 +0200 Subject: [PATCH] Platform indicators: ignore unnecessary element (#240) --- src/plugins/platformIndicators.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/platformIndicators.tsx b/src/plugins/platformIndicators.tsx index 870cd383..2b44973f 100644 --- a/src/plugins/platformIndicators.tsx +++ b/src/plugins/platformIndicators.tsx @@ -75,6 +75,8 @@ const PlatformIndicator = ({ user }: { user: User; }) => { /> )); + if (!icons.length) return null; + return (