codestates / codestates/LearnRegex
[๐พ ErrorLog] ํน์ path๋ก ์ด๋
- Lingua principale
- JavaScript
- Stelle
- 2
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
์ด๋ค ์๋ฌ์ธ๊ฐ?
* 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
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non รจ ancora stata valutata.