From 0706aadd53e79fa0475dd6a159ac3dbfc4c3670e Mon Sep 17 00:00:00 2001 From: Deepak Kapoor Date: Sat, 14 Dec 2024 23:50:44 +0530 Subject: [PATCH] fix --- .gitignore | 1 + package.json | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index d4a3436..0389c6e 100644 --- a/.gitignore +++ b/.gitignore @@ -35,4 +35,5 @@ yarn-error.log* *.tsbuildinfo next-env.d.ts *-lock.yaml +*-lock.json .env \ No newline at end of file diff --git a/package.json b/package.json index 13fc6ed..c46ec70 100644 --- a/package.json +++ b/package.json @@ -28,8 +28,8 @@ "lucide-react": "^0.468.0", "next": "15.1.0", "pg": "^8.13.1", - "react": "19.0.0", - "react-dom": "19.0.0", + "react": "^18.2.0", + "react-dom": "^18.2.0", "react-hot-toast": "^2.4.1", "react-markdown": "^9.0.1", "recharts": "^2.13.1", @@ -41,8 +41,8 @@ }, "devDependencies": { "@types/node": "^22.8.4", - "@types/react": "19.0.1", - "@types/react-dom": "19.0.2", + "@types/react": "^18.2.21", + "@types/react-dom": "^18.2.7", "eslint": "^9.13.0", "eslint-config-next": "15.1.0", "kysely-ctl": "^0.9.0", @@ -52,8 +52,8 @@ }, "pnpm": { "overrides": { - "@types/react": "19.0.1", - "@types/react-dom": "19.0.2" + "@types/react": "^18.2.21", + "@types/react-dom": "^18.2.7" } } }