mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-25 08:01:20 -08:00
update template
This commit is contained in:
1 parent
145d6b7a96
commit
af9f9b3263
2 files changed
+20
-19
No files matched your search
@@ -19,7 +19,8 @@ export default function Player({ option, getInstance, ...rest }) {
|
||||
art.destroy(false);
|
||||
}
|
||||
};
|
||||
}, [option, getInstance]);
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, []);
|
||||
|
||||
return React.createElement('div', {
|
||||
ref: artRef,
|
||||
|
||||
Reference in new issue
Block a user