Fix possible undefined title error (#605)

This commit is contained in:
Cooldude2606 authored and GitHub committed 2024-03-06 18:11:45 +01:00
1 parent b7fec4c700
commit 5dcc66034b
1 file changed
+1 -1
+1 -1
View File
@@ -150,7 +150,7 @@ function TransferModal(props: ModalProps) {
autoFocus
showSearch
filterOption={(input, option) => (
(option?.title.toLowerCase().indexOf(input.toLowerCase())??-1) >= 0
(option?.title!.toLowerCase().indexOf(input.toLowerCase())??-1) >= 0
)}
>
{[...instances.values()].filter(