codestates / codestates/LearnRegex
[๐พ ErrorLog] ํน์ path๋ก ์ด๋
- Dominant language
- JavaScript
- Stars
- 2
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
์ด๋ค ์๋ฌ์ธ๊ฐ?
* submitQuiz ํจ์์์ `useNavigate()` ํ
์คํธ ๋์ค ์๋ฌ๊ฐ ๋ธ
์๋ฌ ๋ฉ์์ง
```js
React Hook "useNavigate" is called in function "submitQuiz" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
```
์๋ฌ ํด๊ฒฐ ๋ฐฉ๋ฒ
* ๋ฆฌ์กํธ ํ
ํจ์๋ฅผ ์ฐ๋ ค๋ฉด ํด๋น ์ปดํฌ๋ํธ๊ฐ ๋๋ฌธ์๋ก ์์ํด์ผํจ
* submitQuiz๋ ํจ์๋ก๋ง ์ฌ์ฉํ ์์ ์ด๊ธฐ ๋๋ฌธ์ `useNavigate()`๊ฐ ์๋ `window.location ` ํ์ฉ
์๋ฌ ํด๊ฒฐ์ ์ํด ์ฐธ๊ณ ํ ๋ ํผ๋ฐ์ค ๋งํฌ
x
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.