mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 19:06:15 -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
|
||||
}, []);
|
||||
|
||||
return React.createElement('div', {
|
||||
ref: artRef,
|
||||
...rest,
|
||||
});
|
||||
return <div ref={artRef} {...rest}></div>;
|
||||
}
|
||||
Reference in new issue
Block a user