Turn off the accepted rules and fix the design tokens, alt text, and last type errors. [skip build]
This commit is contained in:
@@ -20,9 +20,5 @@ export const useStateEvents = (room: Room, eventType: StateEvent) => {
|
||||
),
|
||||
);
|
||||
|
||||
return useMemo(
|
||||
() => getStateEvents(room, eventType),
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
[room, eventType, updateCount],
|
||||
);
|
||||
return useMemo(() => getStateEvents(room, eventType), [room, eventType, updateCount]);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user