mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-11-05 16:16:49 +00:00
refactor: name the preview's ref among its key listener's inputs
This commit is contained in:
@@ -102,7 +102,7 @@ export function PreviewShell({ name, onClose, onDownload, actions, neighbours, c
|
||||
window.removeEventListener("keydown", onKey, { capture: true });
|
||||
window.removeEventListener("keydown", onArrow);
|
||||
};
|
||||
}, [onClose, neighbours]);
|
||||
}, [onClose, neighbours, shellRef]);
|
||||
|
||||
return (
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user