fix: reduce share errors
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user