-
카테고리
-
세부 분야
풀스택
-
해결 여부
미해결
navigate 질문이욥 ㅠ
22.10.19 01:04 작성 조회수 528
0
Error: useNavigate() may be used only in the context of a <Router> component.
자꾸 뜨는데 ㅠㅠ 제가 뭘 잘 못했는지.. 잘모르겠네요 ㅠ
답변을 작성해보세요.
0
John Ahn
지식공유자2022.10.20
안녕하세요
혹시
import { useNavigator } from 'react-router'
=>
import { useNavigator} from 'react-router-dom'
으로 바꿔보시겠어요 ~ ?
답변 1