fix: reduce share errors

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-11-05 19:03:59 +01:00
parent 0663ce6ac8
commit f67ec2bb6a
2 changed files with 14 additions and 4 deletions

View File

@@ -19,9 +19,14 @@ interface OverviewShareProps {
export function OverviewShare({ projectId }: OverviewShareProps) {
const trpc = useTRPC();
const query = useQuery(
trpc.share.overview.queryOptions({
projectId,
}),
trpc.share.overview.queryOptions(
{
projectId,
},
{
retry: 0,
},
),
);
const data = query.data;
const mutation = useMutation(