Skip to content

Commit

Permalink
fix: [gazzo: Gazzo]
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSchoeler committed Sep 3, 2024
1 parent 809a8a8 commit e406ac6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/meteor/client/sidebar/RoomMenu.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { RoomType } from '@rocket.chat/core-typings';
import { Option, Menu } from '@rocket.chat/fuselage';
import { useEffectEvent, useMutableCallback } from '@rocket.chat/fuselage-hooks';
import { useMutableCallback } from '@rocket.chat/fuselage-hooks';
import type { TranslationKey, Fields } from '@rocket.chat/ui-contexts';
import {
useRouter,
Expand Down Expand Up @@ -174,7 +174,7 @@ const RoomMenu = ({
);
});

const handleToggleRead = useEffectEvent(async () => {
const handleToggleRead = useMutableCallback(async () => {
try {
queryClient.invalidateQueries(['sidebar/search/spotlight']);

Expand Down

0 comments on commit e406ac6

Please sign in to comment.