fix: prefetch project and not events on onboarding
This commit is contained in:
@@ -23,7 +23,7 @@ export const Route = createFileRoute('/_steps/onboarding/$projectId/verify')({
|
|||||||
component: Component,
|
component: Component,
|
||||||
loader: async ({ context, params }) => {
|
loader: async ({ context, params }) => {
|
||||||
await context.queryClient.prefetchQuery(
|
await context.queryClient.prefetchQuery(
|
||||||
context.trpc.event.events.queryOptions({
|
context.trpc.project.getProjectWithClients.queryOptions({
|
||||||
projectId: params.projectId,
|
projectId: params.projectId,
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user