mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
fix convex imports
This commit is contained in:
@@ -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, {});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user