mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 12:49:06 +00:00
fix: minor code quality improvements - add emoji constants, fix type safety, cleanup comments
This commit is contained in:
@@ -580,13 +580,12 @@ export function useMeetingDeactivate() {
|
||||
const key = query.queryKey;
|
||||
return (
|
||||
Array.isArray(key) &&
|
||||
(key.some(
|
||||
(k) => typeof k === "string" && k.includes("/meetings/active"),
|
||||
) ||
|
||||
key.some(
|
||||
(k) =>
|
||||
typeof k === "string" && k.includes("/meetings/upcoming"),
|
||||
))
|
||||
key.some(
|
||||
(k) =>
|
||||
typeof k === "string" &&
|
||||
(k.includes("/meetings/active") ||
|
||||
k.includes("/meetings/upcoming")),
|
||||
)
|
||||
);
|
||||
},
|
||||
});
|
||||
@@ -747,3 +746,4 @@ export function useRoomCalendarEvents(roomName: string | null) {
|
||||
},
|
||||
);
|
||||
}
|
||||
// End of Calendar integration hooks
|
||||
|
||||
Reference in New Issue
Block a user