Skip to content

Commit fbc1107

Browse files
committed
fix wrong callback name
1 parent 401cd08 commit fbc1107

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/ScrollCardsNavigator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function ScrollCardsNavigator() {
3333
scrollBarContainer.current.addEventListener('scroll', handleScroll, true)
3434
window.addEventListener('keydown', handleKeyboardKeys)
3535
return () => {
36-
window.removeEventListener('keydown', handleEsc)
36+
window.removeEventListener('keydown', handleKeyboardKeys)
3737
scrollBarContainer.current.removeEventListener('scroll', handleScroll)
3838
}
3939
}, [])

0 commit comments

Comments
 (0)