update template

This commit is contained in:
Harvey Zack committed 2022-05-05 23:30:58 +08:00
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,