mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Format code
This commit is contained in:
parent
0b4f40190d
commit
cd46050c94
@ -8,7 +8,7 @@
|
|||||||
"lineEnding": "lf",
|
"lineEnding": "lf",
|
||||||
"lineWidth": 100,
|
"lineWidth": 100,
|
||||||
"attributePosition": "auto",
|
"attributePosition": "auto",
|
||||||
"ignore": ["**/.yarn/**", "**/.next/**", "**/.expo/**", "**/next-env.d.ts"]
|
"ignore": ["**/.yarn/**", "**/.next/**", "**/.expo/**", "**/next-env.d.ts", "**/back/**"]
|
||||||
},
|
},
|
||||||
"organizeImports": {
|
"organizeImports": {
|
||||||
"enabled": true
|
"enabled": true
|
||||||
@ -33,7 +33,7 @@
|
|||||||
"noBannedTypes": "off"
|
"noBannedTypes": "off"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ignore": ["**/.yarn/**", "**/.next/**", "**/.expo/**", "**/next-env.d.ts"]
|
"ignore": ["**/.yarn/**", "**/.next/**", "**/.expo/**", "**/next-env.d.ts", "**/back/**"]
|
||||||
},
|
},
|
||||||
"javascript": {
|
"javascript": {
|
||||||
"formatter": {
|
"formatter": {
|
||||||
|
@ -150,6 +150,7 @@ const Video = forwardRef<{ seek: (value: number) => void }, VideoProps>(function
|
|||||||
const subtitle = useAtomValue(subtitleAtom);
|
const subtitle = useAtomValue(subtitleAtom);
|
||||||
useSubtitle(ref, subtitle, fonts);
|
useSubtitle(ref, subtitle, fonts);
|
||||||
|
|
||||||
|
// biome-ignore lint/correctness/useExhaustiveDependencies: do not restart on startPosition change
|
||||||
useLayoutEffect(() => {
|
useLayoutEffect(() => {
|
||||||
if (!ref?.current || !source.uri) return;
|
if (!ref?.current || !source.uri) return;
|
||||||
if (!hls || oldHls.current !== source.hls) {
|
if (!hls || oldHls.current !== source.hls) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user