fix convex imports

This commit is contained in:
Aman Varshney
2025-05-27 22:53:08 +05:30
parent 5d71832518
commit 1c2e8f12ac
16 changed files with 23 additions and 22 deletions

View File

@@ -9,7 +9,7 @@ import { useQuery } from "@tanstack/react-query";
{{/if}}
{{#if (eq backend "convex")}}
import { useQuery } from "convex/react";
import { api } from "@{{ projectName }}/backend/convex/_generated/api.js";
import { api } from "@{{ projectName }}/backend/convex/_generated/api";
{{/if}}
export const Route = createFileRoute("/")({