fix incorrect helper usage

This commit is contained in:
Aman Varshney
2025-05-10 21:38:28 +05:30
parent 38385024b5
commit 95c9113ce9
2 changed files with 11 additions and 2 deletions

View File

@@ -12,9 +12,13 @@ import {
import { TanStackRouterDevtools } from "@tanstack/react-router-devtools";
import Header from "../components/header";
import appCss from "../index.css?url";
{{#unless (and (eq api "none") (not (eq backend "convex"))}}
{{#if (eq backend "convex")}}
import type { QueryClient } from "@tanstack/react-query";
{{/unless}}
{{else}}
{{#unless (eq api "none")}}
import type { QueryClient } from "@tanstack/react-query";
{{/unless}}
{{/if}}
import Loader from "@/components/loader";
{{#if (eq backend "convex")}}