mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
closing prompt function name fixed
This commit is contained in:
parent
b6e04941c1
commit
9c0ecc8621
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ const SharePrompt = ({ className, label, url, close }) => {
|
|||
React.useEffect(() => {
|
||||
const onKeyUp = (event) => {
|
||||
if (event.key === 'Escape') {
|
||||
cancel();
|
||||
close();
|
||||
}
|
||||
};
|
||||
if (focusable) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue