apps/meteor/client/hooks/roomActions/useThreadRoomAction.tsx
Function useThreadRoomAction
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const useThreadRoomAction = () => {
const enabled = useSetting('Threads_enabled', false);
const subscription = useRoomSubscription();
const tunread = subscription?.tunread?.length ?? 0;