From 0e944480d1e0b3f6e6fa8f0de6e009209b289dbc Mon Sep 17 00:00:00 2001 From: Len Date: Wed, 1 Nov 2023 18:32:52 +0100 Subject: [PATCH] Made props element optional. --- desktop-app/src/renderer/components/DropDown/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop-app/src/renderer/components/DropDown/index.tsx b/desktop-app/src/renderer/components/DropDown/index.tsx index 89bf0b8f9..ff9dfc285 100644 --- a/desktop-app/src/renderer/components/DropDown/index.tsx +++ b/desktop-app/src/renderer/components/DropDown/index.tsx @@ -18,7 +18,7 @@ type OptionOrSeparator = Option | Separator; interface Props { label: JSX.Element | string; options: OptionOrSeparator[]; - className: string | null; + className?: string | null; } export function DropDown({ label, options, className }: Props) {