From 7333ffd306a86828b897b3474132870bd865a30b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Rialland?= Date: Mon, 31 Jul 2023 11:35:44 +0200 Subject: [PATCH] Update react router to use useTransition --- site/package.json | 2 +- site/source/components/Provider.tsx | 1 + yarn.lock | 32 ++++++++++++++--------------- 3 files changed, 18 insertions(+), 17 deletions(-) diff --git a/site/package.json b/site/package.json index e31d01c9f..e33bb61e5 100644 --- a/site/package.json +++ b/site/package.json @@ -83,7 +83,7 @@ "react-instantsearch": "^6.38.1", "react-instantsearch-dom": "^6.38.1", "react-redux": "^8.0.5", - "react-router-dom": "^6.4.4", + "react-router-dom": "^6.14.2", "react-signature-pad-wrapper": "^3.3.1", "react-spring": "^9.5.5", "react-stately": "^3.22.0", diff --git a/site/source/components/Provider.tsx b/site/source/components/Provider.tsx index 1cfb3fd8c..59b162c2a 100644 --- a/site/source/components/Provider.tsx +++ b/site/source/components/Provider.tsx @@ -153,6 +153,7 @@ function BrowserRouterProvider({ > {children} diff --git a/yarn.lock b/yarn.lock index 69e969d20..df3f30de4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6856,10 +6856,10 @@ __metadata: languageName: node linkType: hard -"@remix-run/router@npm:1.3.2": - version: 1.3.2 - resolution: "@remix-run/router@npm:1.3.2" - checksum: ee2108b87d4a1241cdea137dd7e1741ee679228bd33fd81e22a6bb2940f81186cefe9a85e26d60cc49bbcc1bdbc57d1954b7d4d62f8a51ef69feddfc899f55fa +"@remix-run/router@npm:1.7.2": + version: 1.7.2 + resolution: "@remix-run/router@npm:1.7.2" + checksum: ea43bb662f1f5c93965989b1667fb6e8a301cb69c44341ee92c81cb15ea685b494168e5905593b5777d59058f1455b4b58083d5b895f04382e49362e420d7af4 languageName: node linkType: hard @@ -23171,27 +23171,27 @@ __metadata: languageName: node linkType: hard -"react-router-dom@npm:^6.4.4": - version: 6.8.1 - resolution: "react-router-dom@npm:6.8.1" +"react-router-dom@npm:^6.14.2": + version: 6.14.2 + resolution: "react-router-dom@npm:6.14.2" dependencies: - "@remix-run/router": 1.3.2 - react-router: 6.8.1 + "@remix-run/router": 1.7.2 + react-router: 6.14.2 peerDependencies: react: ">=16.8" react-dom: ">=16.8" - checksum: fb1a9f5c7e4c83536ee7e6493f3c13f6abda66da69f9191fb8b087ab188ecc18a3a32575813a280cbeca67bcb8b0dcb6dbcef7ed599e03f38a44d694f4abcf14 + checksum: a53dbc566ecab7890b829d42d38553684f704803c1f615db1bd6aa2d71542c369a1a79e4385be31ae71a14b72ddbcd0d8b51188248c2bccd44e015050d1927df languageName: node linkType: hard -"react-router@npm:6.8.1": - version: 6.8.1 - resolution: "react-router@npm:6.8.1" +"react-router@npm:6.14.2": + version: 6.14.2 + resolution: "react-router@npm:6.14.2" dependencies: - "@remix-run/router": 1.3.2 + "@remix-run/router": 1.7.2 peerDependencies: react: ">=16.8" - checksum: 8e7cc7a516adeb6060911861af99d9b512893c15ec732cbf8574872919be4f3fe439ffa8c0876d1bcbced880d081bfeda3c01cb505b5a243565d10500ee0ac36 + checksum: 7507bf5732b3a8ddbd901c2061216eebca73e194449bff58acc1445171e22bdda36b455b8af066e467748ebfb5875b3c0a565941c46af65c6f653a6ed0dc4fe4 languageName: node linkType: hard @@ -24770,7 +24770,7 @@ __metadata: react-instantsearch: ^6.38.1 react-instantsearch-dom: ^6.38.1 react-redux: ^8.0.5 - react-router-dom: ^6.4.4 + react-router-dom: ^6.14.2 react-signature-pad-wrapper: ^3.3.1 react-spring: ^9.5.5 react-stately: ^3.22.0