chore: bump @trpc/* and @tanstack/react-query (#13335)

Co-authored-by: Peer Richelsen <[email protected]>
Co-authored-by: Omar López <[email protected]>
Co-authored-by: CarinaWolli <[email protected]>
Co-authored-by: Alex van Andel <[email protected]>
Co-authored-by: zomars <[email protected]>
Co-authored-by: Udit Takkar <[email protected]>
Co-authored-by: Benny Joo <[email protected]>
Co-authored-by: Carina Wollendorfer <[email protected]>
Co-authored-by: Gergő Móricz <[email protected]>
Co-authored-by: Keith Williams <[email protected]>
This commit is contained in:
183 files changed
+1203 -1013

No files matched your search

@@ -27,7 +27,7 @@ export default function WebhookTestDisclosure() {
<Button
type="button"
color="secondary"
disabled={mutation.isLoading || !subscriberUrl}
disabled={mutation.isPending || !subscriberUrl}
StartIcon={Activity}
onClick={() => {
try {
@@ -25,7 +25,7 @@ function Component({ webhookId }: { webhookId: string }) {
const { t } = useLocale();
const utils = trpc.useContext();
const router = useRouter();
const { data: installedApps, isLoading } = trpc.viewer.integrations.useQuery(
const { data: installedApps, isPending } = trpc.viewer.integrations.useQuery(
{ variant: "other", onlyInstalled: true },
{
suspense: true,
@@ -54,7 +54,7 @@ function Component({ webhookId }: { webhookId: string }) {
},
});
if (isLoading || !webhook) return <SkeletonContainer />;
if (isPending || !webhook) return <SkeletonContainer />;
return (
<>
@@ -32,7 +32,7 @@ const NewWebhookView = () => {
const teamId = searchParams?.get("teamId") ? Number(searchParams.get("teamId")) : undefined;
const { data: installedApps, isLoading } = trpc.viewer.integrations.useQuery(
const { data: installedApps, isPending } = trpc.viewer.integrations.useQuery(
{ variant: "other", onlyInstalled: true },
{
suspense: true,
@@ -83,7 +83,7 @@ const NewWebhookView = () => {
});
};
if (isLoading)
if (isPending)
return (
<SkeletonLoader
title={t("add_webhook")}
@@ -45,11 +45,11 @@ const WebhooksView = () => {
const router = useRouter();
const session = useSession();
const { data, isLoading } = trpc.viewer.webhook.getByViewer.useQuery(undefined, {
const { data, isPending } = trpc.viewer.webhook.getByViewer.useQuery(undefined, {
enabled: session.status === "authenticated",
});
if (isLoading || !data) {
if (isPending || !data) {
return (
<SkeletonLoader
title={t("webhooks")}