diff --git a/components/dashboard/src/workspaces/BrowserExtensionBanner.tsx b/components/dashboard/src/workspaces/BrowserExtensionBanner.tsx index 238deafeecf342..b836ead29619aa 100644 --- a/components/dashboard/src/workspaces/BrowserExtensionBanner.tsx +++ b/components/dashboard/src/workspaces/BrowserExtensionBanner.tsx @@ -31,6 +31,10 @@ interface BrowserExtensionBannerProps { export function BrowserExtensionBanner({ parser = new UAParser() }: BrowserExtensionBannerProps) { const browserName = parser.getBrowser().name?.toLowerCase(); + if (!browserName) { + return null; + } + const browserOption = installationOptions[browserName]; if (!browserOption) { return null;