Apply the auto-fixable lint rules and the formatter, and drop the Vite build artifacts.
This commit is contained in:
1 parent
3cd159a63e
commit
a6ad8651b3
605 files changed
+11480
-9125
No files matched your search
@@ -9,7 +9,7 @@ export type MediaSeekControl = {
|
||||
};
|
||||
|
||||
export const useMediaSeek = (
|
||||
getTargetElement: () => HTMLMediaElement | null
|
||||
getTargetElement: () => HTMLMediaElement | null,
|
||||
): MediaSeekData & MediaSeekControl => {
|
||||
const [seekData, setSeekData] = useState<MediaSeekData>({
|
||||
seeking: false,
|
||||
@@ -22,7 +22,7 @@ export const useMediaSeek = (
|
||||
if (!targetEl) return;
|
||||
targetEl.currentTime = time;
|
||||
},
|
||||
[getTargetElement]
|
||||
[getTargetElement],
|
||||
);
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in new issue
Block a user