Initial project bootstrap
这个提交包含在:
4
client/src/lib/trpc.ts
普通文件
4
client/src/lib/trpc.ts
普通文件
@@ -0,0 +1,4 @@
|
||||
import { createTRPCReact } from "@trpc/react-query";
|
||||
import type { AppRouter } from "../../../server/routers";
|
||||
|
||||
export const trpc = createTRPCReact<AppRouter>();
|
||||
6
client/src/lib/utils.ts
普通文件
6
client/src/lib/utils.ts
普通文件
@@ -0,0 +1,6 @@
|
||||
import { clsx, type ClassValue } from "clsx";
|
||||
import { twMerge } from "tailwind-merge";
|
||||
|
||||
export function cn(...inputs: ClassValue[]) {
|
||||
return twMerge(clsx(inputs));
|
||||
}
|
||||
在新工单中引用
屏蔽一个用户