diff options
| author | AAGaming <aagaming@riseup.net> | 2024-10-11 14:47:20 -0400 |
|---|---|---|
| committer | AAGaming <aagaming@riseup.net> | 2024-10-11 14:47:20 -0400 |
| commit | 43aa0497f448d979b3d84c357db082fd57ae6c68 (patch) | |
| tree | 516368db5aed70df3d805e7c0e9b1fca5f53ac0c /frontend/src/components/modals/DropdownMultiselect.tsx | |
| parent | 1781c19c11777e08bb078c7d5859fefef764ee78 (diff) | |
| download | decky-loader-43aa0497f448d979b3d84c357db082fd57ae6c68.tar.gz decky-loader-43aa0497f448d979b3d84c357db082fd57ae6c68.zip | |
prevent future issues where toString may not be a function (what)
Diffstat (limited to 'frontend/src/components/modals/DropdownMultiselect.tsx')
| -rw-r--r-- | frontend/src/components/modals/DropdownMultiselect.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
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< |
