summaryrefslogtreecommitdiff
path: root/frontend/src/components
diff options
context:
space:
mode:
authorAAGaming <aagaming@riseup.net>2024-10-11 14:47:20 -0400
committerAAGaming <aagaming@riseup.net>2024-10-11 14:47:20 -0400
commit43aa0497f448d979b3d84c357db082fd57ae6c68 (patch)
tree516368db5aed70df3d805e7c0e9b1fca5f53ac0c /frontend/src/components
parent1781c19c11777e08bb078c7d5859fefef764ee78 (diff)
downloaddecky-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')
-rw-r--r--frontend/src/components/modals/DropdownMultiselect.tsx2
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<