diff --git a/package-lock.json b/package-lock.json index 8e47910..9686223 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,7 @@ "react-router-dom": "^6.24.0", "react-scroll": "^1.9.0", "react-skroll": "^0.7.3", - "react-spring-3d-carousel-2": "^1.0.1", + "react-spring-3d-carousel": "^1.3.4", "react-tooltip": "^5.27.0", "require-context": "^1.1.0", "three": "^0.166.1" @@ -9376,21 +9376,21 @@ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" } }, - "node_modules/react-spring-3d-carousel-2": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/react-spring-3d-carousel-2/-/react-spring-3d-carousel-2-1.0.1.tgz", - "integrity": "sha512-xZIqbs1y5s+pFHuccnrWP+IAiikLvne/9ENPnfs0JVbJIBo6zWfJu1Y6F82472LwyXqIVpOAF5eRG03tHFC5MQ==", + "node_modules/react-spring-3d-carousel": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/react-spring-3d-carousel/-/react-spring-3d-carousel-1.3.4.tgz", + "integrity": "sha512-twUEtXlRMw+AFHDK02q5DPqXTagtywypP642q+orG2psDtS0QF6sEiMweKYCxFHOVVVpjyiGB978KucFnKDCXQ==", "dependencies": { "@emotion/core": "^10.0.7", "@emotion/styled": "^10.0.7", "react-spring": "^8.0.5" }, "peerDependencies": { - "react": "^16.7.0", - "react-dom": "^16.7.0" + "react": "^16.7.0 || ^17 || ^18", + "react-dom": "^16.7.0 || ^17 || ^18" } }, - "node_modules/react-spring-3d-carousel-2/node_modules/react-spring": { + "node_modules/react-spring-3d-carousel/node_modules/react-spring": { "version": "8.0.27", "resolved": "https://registry.npmjs.org/react-spring/-/react-spring-8.0.27.tgz", "integrity": "sha512-nDpWBe3ZVezukNRandTeLSPcwwTMjNVu1IDq9qA/AMiUqHuRN4BeSWvKr3eIxxg1vtiYiOLy4FqdfCP5IoP77g==", diff --git a/package.json b/package.json index 2309b2f..ca67629 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "react-router-dom": "^6.24.0", "react-scroll": "^1.9.0", "react-skroll": "^0.7.3", - "react-spring-3d-carousel-2": "^1.0.1", + "react-spring-3d-carousel": "^1.3.4", "react-tooltip": "^5.27.0", "require-context": "^1.1.0", "three": "^0.166.1" diff --git a/src/Pages/Sponsors/Carousel.jsx b/src/Pages/Sponsors/Carousel.jsx index a28ed75..c7196bb 100644 --- a/src/Pages/Sponsors/Carousel.jsx +++ b/src/Pages/Sponsors/Carousel.jsx @@ -1,4 +1,4 @@ -import Carousel from "react-spring-3d-carousel-2"; +import Carousel from "react-spring-3d-carousel"; import { useState, useEffect } from "react"; import { config } from "react-spring";