Skip to content
This repository was archived by the owner on Jun 11, 2024. It is now read-only.

Commit b686aa4

Browse files
committed
react-router-dom 업데이트로 인한 타입 오류 수정
1 parent 11b2c41 commit b686aa4

File tree

3 files changed

+20
-22
lines changed

3 files changed

+20
-22
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"polished": "^4.2.2",
3333
"react": "^18.2.0",
3434
"react-dom": "^18.2.0",
35-
"react-router-dom": "^6.3.0",
35+
"react-router-dom": "^6.4.3",
3636
"react-virtualized": "^9.22.3",
3737
"recoil": "^0.7.4",
3838
"styled-components": "^5.3.5",
@@ -67,4 +67,4 @@
6767
"resolutions": {
6868
"react-virtualized": "git+https://[email protected]/remorses/react-virtualized-fixed-import.git#9.22.3"
6969
}
70-
}
70+
}

src/components/FileSystemRoutes/FileSystemRoutes.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { useRoutes, RouteObject } from 'react-router-dom';
33

44
type Element = () => JSX.Element;
55

6-
interface Route extends RouteObject {}
6+
type Route = RouteObject;
77

88
interface FileSystemRoutesProps {}
99

yarn.lock

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@
275275
"@babel/plugin-syntax-jsx" "^7.18.6"
276276
"@babel/types" "^7.18.6"
277277

278-
"@babel/runtime@^7.10.1", "@babel/runtime@^7.10.2", "@babel/runtime@^7.10.4", "@babel/runtime@^7.11.1", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.17.8", "@babel/runtime@^7.18.0", "@babel/runtime@^7.18.3", "@babel/runtime@^7.7.6":
278+
"@babel/runtime@^7.10.1", "@babel/runtime@^7.10.2", "@babel/runtime@^7.10.4", "@babel/runtime@^7.11.1", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.17.8", "@babel/runtime@^7.18.0", "@babel/runtime@^7.18.3":
279279
version "7.18.9"
280280
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.18.9.tgz#b4fcfce55db3d2e5e080d2490f608a3b9f407f4a"
281281
integrity sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==
@@ -606,6 +606,11 @@
606606
"@nodelib/fs.scandir" "2.1.5"
607607
fastq "^1.6.0"
608608

609+
"@remix-run/[email protected]":
610+
version "1.0.3"
611+
resolved "https://registry.yarnpkg.com/@remix-run/router/-/router-1.0.3.tgz#953b88c20ea00d0eddaffdc1b115c08474aa295d"
612+
integrity sha512-ceuyTSs7PZ/tQqi19YZNBc5X7kj1f8p+4DIyrcIYFY9h+hd1OKm4RqtiWldR9eGEvIiJfsqwM4BsuCtRIuEw6Q==
613+
609614
"@rollup/pluginutils@^4.2.1":
610615
version "4.2.1"
611616
resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-4.2.1.tgz#e6c6c3aba0744edce3fb2074922d3776c0af2a6d"
@@ -2746,13 +2751,6 @@ hey-listen@^1.0.8:
27462751
resolved "https://registry.yarnpkg.com/hey-listen/-/hey-listen-1.0.8.tgz#8e59561ff724908de1aa924ed6ecc84a56a9aa68"
27472752
integrity sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q==
27482753

2749-
history@^5.2.0:
2750-
version "5.3.0"
2751-
resolved "https://registry.yarnpkg.com/history/-/history-5.3.0.tgz#1548abaa245ba47992f063a0783db91ef201c73b"
2752-
integrity sha512-ZqaKwjjrAYUYfLG+htGaIIZ4nioX2L70ZUMIFysS3xvBsSG4x/n1V6TXV3N8ZYNuFGlDirFg32T7B6WOUPDYcQ==
2753-
dependencies:
2754-
"@babel/runtime" "^7.7.6"
2755-
27562754
hoist-non-react-statics@^3.0.0, hoist-non-react-statics@^3.3.0:
27572755
version "3.3.2"
27582756
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45"
@@ -4134,20 +4132,20 @@ react-refresh@^0.14.0:
41344132
resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.14.0.tgz#4e02825378a5f227079554d4284889354e5f553e"
41354133
integrity sha512-wViHqhAd8OHeLS/IRMJjTSDHF3U9eWi62F/MledQGPdJGDhodXJ9PBLNGr6WWL7qlH12Mt3TyTpbS+hGXMjCzQ==
41364134

4137-
react-router-dom@^6.3.0:
4138-
version "6.3.0"
4139-
resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-6.3.0.tgz#a0216da813454e521905b5fa55e0e5176123f43d"
4140-
integrity sha512-uaJj7LKytRxZNQV8+RbzJWnJ8K2nPsOOEuX7aQstlMZKQT0164C+X2w6bnkqU3sjtLvpd5ojrezAyfZ1+0sStw==
4135+
react-router-dom@^6.4.3:
4136+
version "6.4.3"
4137+
resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-6.4.3.tgz#70093b5f65f85f1df9e5d4182eb7ff3a08299275"
4138+
integrity sha512-MiaYQU8CwVCaOfJdYvt84KQNjT78VF0TJrA17SIQgNHRvLnXDJO6qsFqq8F/zzB1BWZjCFIrQpu4QxcshitziQ==
41414139
dependencies:
4142-
history "^5.2.0"
4143-
react-router "6.3.0"
4140+
"@remix-run/router" "1.0.3"
4141+
react-router "6.4.3"
41444142

4145-
react-router@6.3.0:
4146-
version "6.3.0"
4147-
resolved "https://registry.yarnpkg.com/react-router/-/react-router-6.3.0.tgz#3970cc64b4cb4eae0c1ea5203a80334fdd175557"
4148-
integrity sha512-7Wh1DzVQ+tlFjkeo+ujvjSqSJmkt1+8JO+T5xklPlgrh70y7ogx75ODRW0ThWhY7S+6yEDks8TYrtQe/aoboBQ==
4143+
react-router@6.4.3:
4144+
version "6.4.3"
4145+
resolved "https://registry.yarnpkg.com/react-router/-/react-router-6.4.3.tgz#9ed3ee4d6e95889e9b075a5d63e29acc7def0d49"
4146+
integrity sha512-BT6DoGn6aV1FVP5yfODMOiieakp3z46P1Fk0RNzJMACzE7C339sFuHebfvWtnB4pzBvXXkHP2vscJzWRuUjTtA==
41494147
dependencies:
4150-
history "^5.2.0"
4148+
"@remix-run/router" "1.0.3"
41514149

41524150
react-virtualized@^9.22.3, "react-virtualized@git+https://[email protected]/remorses/react-virtualized-fixed-import.git#9.22.3":
41534151
version "9.22.3"

0 commit comments

Comments
 (0)