mirror of
https://github.com/RealKai42/qwerty-learner.git
synced 2026-04-05 14:29:04 +08:00
chore: remove useless console.log
This commit is contained in:
@@ -67,7 +67,6 @@ const App: React.FC = () => {
|
||||
useEffect(() => {
|
||||
if (!typingState.isTyping) {
|
||||
const onKeyDown = (e: KeyboardEvent) => {
|
||||
console.log(e.key)
|
||||
if (e.key !== 'Enter' && (isLegal(e.key) || e.key === ' ') && !e.altKey && !e.ctrlKey && !e.metaKey) {
|
||||
e.preventDefault()
|
||||
dispatch({ type: TypingStateActionType.SET_IS_TYPING, payload: true })
|
||||
|
||||
Reference in New Issue
Block a user