{t("calendars_were_checking_for_conflicts")}
- {hasConnectedCalendars && !isLoading ? ( + {hasConnectedCalendars && !isPending ? ( <> {data.connectedCalendars.map((calendar) => { const foundPrimary = calendar.calendars?.find((item) => item.primary); diff --git a/packages/features/troubleshooter/components/EventTypeSelect.tsx b/packages/features/troubleshooter/components/EventTypeSelect.tsx index 9bfda0d6ad..0ebf8f719a 100644 --- a/packages/features/troubleshooter/components/EventTypeSelect.tsx +++ b/packages/features/troubleshooter/components/EventTypeSelect.tsx @@ -7,7 +7,7 @@ import { getQueryParam } from "../../bookings/Booker/utils/query-param"; import { useTroubleshooterStore } from "../store"; export function EventTypeSelect() { - const { data: eventTypes, isLoading } = trpc.viewer.eventTypes.list.useQuery(); + const { data: eventTypes, isPending } = trpc.viewer.eventTypes.list.useQuery(); const selectedEventType = useTroubleshooterStore((state) => state.event); const setSelectedEventType = useTroubleshooterStore((state) => state.setEvent); @@ -59,7 +59,7 @@ export function EventTypeSelect() {{orgBranding?.fullDomain ?? WEBAPP_URL}/{loadedUser?.username}
diff --git a/packages/features/users/components/UserTable/EditSheet/SheetFooterControls.tsx b/packages/features/users/components/UserTable/EditSheet/SheetFooterControls.tsx index 2f5ffc5aac..668a0ab6c0 100644 --- a/packages/features/users/components/UserTable/EditSheet/SheetFooterControls.tsx +++ b/packages/features/users/components/UserTable/EditSheet/SheetFooterControls.tsx @@ -7,7 +7,7 @@ import { useEditMode } from "./store"; function EditModeFooter() { const { t } = useLocale(); const setEditMode = useEditMode((state) => state.setEditMode); - const isLoading = useEditMode((state) => state.mutationLoading); + const isPending = useEditMode((state) => state.mutationLoading); return ( <> @@ -21,7 +21,7 @@ function EditModeFooter() { {t("cancel")} -