-
카테고리
-
세부 분야
프론트엔드
-
해결 여부
해결됨
Property 'render' does not exist on type 'IntrinsicAttributes & (PathRouteProps | LayoutRouteProps | IndexRouteProps)'.
22.02.20 21:11 작성 조회수 522
0
<div>
<Routes>
<Route path="/" render={(props) => <GameMaster {...props}/>}/>
<Route path="/game/:name" render={(props) => <GameMaster {...props}/>}/>
</Routes>
</div>
해당 코드에서
Property 'render' does not exist on type 'IntrinsicAttributes & (PathRouteProps | LayoutRouteProps | IndexRouteProps)'.
라는 에러가 계속 뜨는데, 무슨 이유일까요? ㅠㅠ
답변을 작성해보세요.
1
답변 1