This commit is contained in:
2026-01-21 16:00:28 +08:00
parent 76796613b4
commit f5fd28621e
13 changed files with 23 additions and 4 deletions

View File

@@ -2,7 +2,7 @@ import { ORPCError, onError, ValidationError } from '@orpc/server'
import { RPCHandler } from '@orpc/server/fetch'
import { createFileRoute } from '@tanstack/react-router'
import { z } from 'zod'
import { router } from '@/orpc/router'
import { router } from '@/api/router'
const handler = new RPCHandler(router, {
interceptors: [

View File

@@ -4,7 +4,7 @@ import { isTauri } from '@tauri-apps/api/core'
import { getCurrentWindow } from '@tauri-apps/api/window'
import type { ChangeEventHandler, FormEventHandler } from 'react'
import { useEffect, useState } from 'react'
import { orpc } from '@/orpc'
import { orpc } from '@/api'
export const Route = createFileRoute('/')({
component: Todos,