diff --git a/app/soapbox/components/dropdown-menu/dropdown-menu.tsx b/app/soapbox/components/dropdown-menu/dropdown-menu.tsx index f4d885b7f..a5714ff68 100644 --- a/app/soapbox/components/dropdown-menu/dropdown-menu.tsx +++ b/app/soapbox/components/dropdown-menu/dropdown-menu.tsx @@ -271,6 +271,10 @@ const DropdownMenu = (props: IDropdownMenu) => { }; }, [refs.floating.current]); + if (items.length === 0) { + return null; + } + return ( <> {children ? (