apps/meteor/client/views/root/hooks/useEscapeKeyStroke.ts
Function useEscapeKeyStroke
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const useEscapeKeyStroke = () => {
const dispatchToastMessage = useToastMessageDispatch();
const t = useTranslation();
const clearUnreadAllMessagesMutation = useClearUnreadAllMessagesMutation({