refactor: 更好的orpc结构

This commit is contained in:
2026-01-22 16:37:10 +08:00
parent 660ee0a545
commit 2b3e91167e
20 changed files with 53 additions and 28 deletions

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 '@/lib/orpc/query-client'
import { orpc } from '@/client/query-client'
export const Route = createFileRoute('/')({
component: Todos,