This commit is contained in:
Sean Edmunds
2026-01-08 12:57:39 -06:00
parent 93ea28f968
commit b8239eecbe
2 changed files with 2 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ const ApplicationSettings = () => {
}); });
const applications: Application[] = const applications: Application[] =
applicationData applicationData
.filter( ?.filter(
(a: Application) => (a: Application) =>
a.name.toLowerCase().includes((debouncedSearch as string).toLowerCase()) || a.name.toLowerCase().includes((debouncedSearch as string).toLowerCase()) ||
a.url.toLowerCase().includes((debouncedSearch as string).toLowerCase()) || a.url.toLowerCase().includes((debouncedSearch as string).toLowerCase()) ||

View File

@@ -34,7 +34,7 @@ const MessageSettings = () => {
const { isMobile, theme } = useCommonHooks(); const { isMobile, theme } = useCommonHooks();
const { mutateAsync } = useMutationAPI(); const { mutateAsync } = useMutationAPI();
const messages = const messages =
messageData.filter((m: Message) => messageData?.filter((m: Message) =>
m.message.toLowerCase().includes((debouncedSearch as string).toLowerCase()), m.message.toLowerCase().includes((debouncedSearch as string).toLowerCase()),
) || []; ) || [];
const [message, setMessage] = useState({}); const [message, setMessage] = useState({});