From 43aa0497f448d979b3d84c357db082fd57ae6c68 Mon Sep 17 00:00:00 2001 From: AAGaming Date: Fri, 11 Oct 2024 14:47:20 -0400 Subject: prevent future issues where toString may not be a function (what) --- frontend/src/components/modals/DropdownMultiselect.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend/src/components/modals') diff --git a/frontend/src/components/modals/DropdownMultiselect.tsx b/frontend/src/components/modals/DropdownMultiselect.tsx index 255c6fa0..542898ea 100644 --- a/frontend/src/components/modals/DropdownMultiselect.tsx +++ b/frontend/src/components/modals/DropdownMultiselect.tsx @@ -15,7 +15,7 @@ import { FaChevronDown } from 'react-icons/fa'; // TODO add to dfl const dropDownControlButtonClass = findModuleExport((e: Export) => - e?.toString()?.includes('gamepaddropdown_DropDownControlButton'), + e?.toString?.()?.includes('gamepaddropdown_DropDownControlButton'), ); const DropdownMultiselectItem: FC< -- cgit v1.2.3