fix: copyToClipboard button not work

This commit is contained in:
ReaJason
2024-12-31 11:41:08 +08:00
parent 8f7884ce48
commit 692d16f9a4
4 changed files with 29 additions and 24 deletions
+8 -6
View File
@@ -13,16 +13,18 @@
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@tanstack/router-plugin": "^1.91.1",
"@tanstack/router-plugin": "^1.92.11",
"@types/node": "^22.10.2",
"@types/react": "^19.0.2",
"@types/react-dom": "^19.0.2",
"@vitejs/plugin-react": "^4.3.4",
"@types/react-copy-to-clipboard": "^5.0.7",
"@types/react-syntax-highlighter": "^15.5.13",
"autoprefixer": "^10.4.20",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.2",
"vite": "^6.0.5"
"vite": "^6.0.6"
},
"dependencies": {
"@hookform/resolvers": "^3.9.1",
@@ -36,10 +38,10 @@
"@radix-ui/react-switch": "^1.1.2",
"@radix-ui/react-tabs": "^1.1.2",
"@radix-ui/react-tooltip": "^1.1.6",
"@tanstack/react-query": "^5.62.10",
"@tanstack/react-router": "^1.92.3",
"@tanstack/router-devtools": "^1.92.3",
"@types/react-syntax-highlighter": "^15.5.13",
"@tanstack/react-query": "^5.62.11",
"@tanstack/react-router": "^1.92.11",
"@tanstack/router-devtools": "^1.92.11",
"react-copy-to-clipboard": "^5.1.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"lucide-react": "^0.469.0",