prevent future issues where toString may not be a function (what)

This commit is contained in:
AAGaming
2024-10-11 14:47:20 -04:00
parent 1781c19c11
commit 43aa0497f4
3 changed files with 4 additions and 4 deletions
@@ -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<