refactor(ark): add note provider
This commit is contained in:
@@ -5,5 +5,4 @@ export * from "./src/nip94";
|
||||
export * from "./src/notification";
|
||||
export * from "./src/hooks/useNetworkStatus";
|
||||
export * from "./src/hooks/useOpenGraph";
|
||||
export * from "../ark/src/hooks/useRelay";
|
||||
export * from "../ark/src/hooks/useSuggestion";
|
||||
export * from "./src/cn";
|
||||
|
||||
@@ -11,9 +11,11 @@
|
||||
"@tanstack/react-query": "^5.14.2",
|
||||
"@tauri-apps/api": "2.0.0-alpha.11",
|
||||
"@tauri-apps/plugin-notification": "2.0.0-alpha.3",
|
||||
"clsx": "^2.0.0",
|
||||
"dayjs": "^1.11.10",
|
||||
"nostr-tools": "1.17.0",
|
||||
"react": "^18.2.0"
|
||||
"react": "^18.2.0",
|
||||
"tailwind-merge": "^1.14.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@lume/tsconfig": "workspace:^",
|
||||
|
||||
6
packages/utils/src/cn.ts
Normal file
6
packages/utils/src/cn.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { ClassValue, clsx } from "clsx";
|
||||
import { twMerge } from "tailwind-merge";
|
||||
|
||||
export function cn(...inputs: ClassValue[]) {
|
||||
return twMerge(clsx(inputs));
|
||||
}
|
||||
Reference in New Issue
Block a user