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 @@
|
||||
"use client"
|
||||
{{#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";
|
||||
{{else if (or (eq api "orpc") (eq api "trpc"))}}
|
||||
import { useQuery } from "@tanstack/react-query";
|
||||
{{#if (eq api "orpc")}}
|
||||
|
||||
Reference in New Issue
Block a user