mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 09:41:20 -08:00
Update ArtPlayer.js
This commit is contained in:
1 parent
611c6eb6f0
commit
481d8fefbb
1 file changed
+1
-4
@@ -22,8 +22,5 @@ export default function Player({ option, getInstance, ...rest }) {
|
|||||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
return React.createElement('div', {
|
return <div ref={artRef} {...rest}></div>;
|
||||||
ref: artRef,
|
|
||||||
...rest,
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user