codestates / codestates/LearnRegex

[๐Ÿ‘พ ErrorLog] ํŠน์ • path๋กœ ์ด๋™

Aperta
#138 2 commenti 0 reazioni 1 assegnatario Rivendicata da @EUNYUSEO Vedi su GitHub
ErrorLog
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.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.