diff --git a/src/frontend/src/components/items/YesNoButton.tsx b/src/frontend/src/components/items/YesNoButton.tsx index a8aed94c16..c98721a21d 100644 --- a/src/frontend/src/components/items/YesNoButton.tsx +++ b/src/frontend/src/components/items/YesNoButton.tsx @@ -1,7 +1,7 @@ import { t } from '@lingui/macro'; import { Badge } from '@mantine/core'; -export function YesNoButton(value: any) { +export function YesNoButton({ value }: { value: any }) { const bool = String(value).toLowerCase().trim() in ['true', '1', 't', 'y', 'yes'];