mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Linting update
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
/* eslint-disable no-param-reassign, no-console */
|
||||
|
||||
import { useEffect, useRef } from "react";
|
||||
import { StashService } from "../core/StashService";
|
||||
|
||||
@@ -31,7 +33,7 @@ export class VideoHoverHook {
|
||||
videoTag.pause();
|
||||
}
|
||||
};
|
||||
videoTag.onpause = () => isPlaying.current = false;
|
||||
videoTag.onpause = () => { isPlaying.current = false };
|
||||
}, [videoEl]);
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user