Bug fix
This commit is contained in:
@@ -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()) ||
|
||||||
|
|||||||
@@ -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({});
|
||||||
|
|||||||
Reference in New Issue
Block a user