refactor: replace data fetch in mii list with swr

This commit is contained in:
trafficlunar 2025-04-14 11:39:49 +01:00
parent 48b001377a
commit 4fec5f65f5
3 changed files with 26 additions and 23 deletions

View file

@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"dev": "next dev --turbopack",
"build": "next build",
"start": "next start",
"lint": "next lint",
@ -27,6 +27,7 @@
"react-dropzone": "^14.3.8",
"react-webcam": "^7.2.0",
"sharp": "^0.34.1",
"swr": "^2.3.3",
"zod": "^3.24.2"
},
"devDependencies": {