mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
Revert "delete: unnecessary nativeEvent"
This reverts commit f49be71bb5.
This commit is contained in:
parent
f49be71bb5
commit
95e33666bd
1 changed files with 1 additions and 0 deletions
|
|
@ -42,6 +42,7 @@ const MetaItem = React.memo(({ className, type, name, poster, posterShape, poste
|
|||
}, [props.onClick]);
|
||||
const menuOnClick = React.useCallback((event) => {
|
||||
event.stopPropagation();
|
||||
event.nativeEvent.selectPrevented = true;
|
||||
}, []);
|
||||
const menuOnSelect = React.useCallback((event) => {
|
||||
if (typeof optionOnSelect === 'function') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue