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

@@ -1,7 +1,7 @@
{{#if (eq backend "convex")}}
<script lang="ts">
import { useQuery } from 'convex-svelte';
import { api } from "@{{projectName}}/backend/convex/_generated/api.js";
import { api } from "@{{projectName}}/backend/convex/_generated/api";
const healthCheck = useQuery(api.healthCheck.get, {});