mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-09 23:08:48 +00:00
Handle click to close, close animation timing
This commit is contained in:
parent
a1788b01c3
commit
5abe13c726
2 changed files with 22 additions and 13 deletions
|
@ -209,7 +209,7 @@ function Home({ initialSettings }) {
|
|||
document.addEventListener('keydown', handleKeyDown);
|
||||
|
||||
return function cleanup() {
|
||||
document.removeEventListener('keydown', handleKeyDown);
|
||||
document.removeEventListener('keydown', handleKeyDown);
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue