Skip to content

Commit f239058

Browse files
committed
fix: remove unused code
1 parent 62c04fc commit f239058

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ export default (url) => {
1818
useEffect(() => {
1919
if (!url) return;
2020
const video = document.createElement('video');
21-
video.style.display = 'none';
2221
video.addEventListener('loadedmetadata', (e) => {
2322
const { videoWidth: width, videoHeight: height, duration } = e.target;
2423
setMeta({ width, height, duration });

0 commit comments

Comments
 (0)