From 3552b8a021ad25a87fab011be77670456d9652d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Qu=E1=BB=91c=20Ch=C6=B0=C6=A1ng?= Date: Sun, 29 Dec 2024 20:11:31 +0700 Subject: [PATCH 1/5] fix: err build frontend --- frontend/package.json | 10 ++++---- frontend/pnpm-lock.yaml | 10 ++++---- frontend/src/containers/public/Home.tsx | 1 - frontend/src/containers/public/Navigation.tsx | 18 -------------- frontend/src/main.tsx | 5 ++-- frontend/src/schemas/booking.schema.ts | 24 +++++++++---------- frontend/src/schemas/notify.schema.ts | 2 +- frontend/src/schemas/payment.schema.ts | 2 +- frontend/src/schemas/review.schema.ts | 3 +-- frontend/vite.config.ts | 5 +--- 10 files changed, 28 insertions(+), 52 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 451dbea..5481c37 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -15,17 +15,17 @@ "react": "18.3.1", "react-dom": "18.3.1", "react-icon": "1.0.0", - "react-icons": "^5.4.0", - "react-redux": "^9.2.0", - "react-router-dom": "^7.1.0", - "slick-carousel": "^1.8.1" + "react-icons": "5.4.0", + "react-redux": "9.2.0", + "react-router-dom": "7.1.0", + "slick-carousel": "1.8.1" }, "devDependencies": { "@eslint/js": "9.17.0", "@types/react": "18.3.17", "@types/react-dom": "18.3.5", "@vitejs/plugin-react-swc": "3.5.0", - "autoprefixer": "^10.4.20", + "autoprefixer": "10.4.20", "eslint": "9.17.0", "eslint-plugin-react-hooks": "5.0.0", "eslint-plugin-react-refresh": "0.4.16", diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml index 220f773..68d9a12 100644 --- a/frontend/pnpm-lock.yaml +++ b/frontend/pnpm-lock.yaml @@ -24,16 +24,16 @@ importers: specifier: 1.0.0 version: 1.0.0(babel-runtime@5.8.38)(react@18.3.1) react-icons: - specifier: ^5.4.0 + specifier: 5.4.0 version: 5.4.0(react@18.3.1) react-redux: - specifier: ^9.2.0 + specifier: 9.2.0 version: 9.2.0(@types/react@18.3.17)(react@18.3.1)(redux@5.0.1) react-router-dom: - specifier: ^7.1.0 + specifier: 7.1.0 version: 7.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) slick-carousel: - specifier: ^1.8.1 + specifier: 1.8.1 version: 1.8.1(jquery@3.7.1) devDependencies: '@eslint/js': @@ -49,7 +49,7 @@ importers: specifier: 3.5.0 version: 3.5.0(vite@6.0.3(jiti@1.21.7)(yaml@2.6.1)) autoprefixer: - specifier: ^10.4.20 + specifier: 10.4.20 version: 10.4.20(postcss@8.4.49) eslint: specifier: 9.17.0 diff --git a/frontend/src/containers/public/Home.tsx b/frontend/src/containers/public/Home.tsx index 0ba80c6..24677fd 100644 --- a/frontend/src/containers/public/Home.tsx +++ b/frontend/src/containers/public/Home.tsx @@ -18,7 +18,6 @@ const Home: React.FC = () => {