diff --git a/web/package.json b/web/package.json --- a/web/package.json +++ b/web/package.json @@ -69,7 +69,7 @@ "react-redux": "^7.1.1", "react-router": "^5.2.0", "react-router-dom": "^5.2.0", - "react-switch": "^5.0.1", + "react-switch": "^7.0.0", "react-timeago": "^5.2.0", "redux": "^4.0.4", "redux-devtools-extension": "^2.13.2", diff --git a/yarn.lock b/yarn.lock --- a/yarn.lock +++ b/yarn.lock @@ -19761,12 +19761,12 @@ invariant "^2.2.4" tslib "^2.0.0" -react-switch@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/react-switch/-/react-switch-5.0.1.tgz#449277f4c3aed5286fffd0f50d5cbc2a23330406" - integrity sha512-Pa5kvqRfX85QUCK1Jv0rxyeElbC3aNpCP5hV0LoJpU/Y6kydf0t4kRriQ6ZYA4kxWwAYk/cH51T4/sPzV9mCgQ== +react-switch@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/react-switch/-/react-switch-7.0.0.tgz#400990bb9822864938e343ed24f13276a617bdc0" + integrity sha512-KkDeW+cozZXI6knDPyUt3KBN1rmhoVYgAdCJqAh7st7tk8YE6N0iR89zjCWO8T8dUTeJGTR0KU+5CHCRMRffiA== dependencies: - prop-types "^15.6.2" + prop-types "^15.7.2" react-test-renderer@18.1.0, react-test-renderer@~18.1.0: version "18.1.0"