Format code

This commit is contained in:
Zoe Roux 2024-05-12 17:30:16 +02:00
parent 0b4f40190d
commit cd46050c94
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View File

@ -8,7 +8,7 @@
"lineEnding": "lf",
"lineWidth": 100,
"attributePosition": "auto",
"ignore": ["**/.yarn/**", "**/.next/**", "**/.expo/**", "**/next-env.d.ts"]
"ignore": ["**/.yarn/**", "**/.next/**", "**/.expo/**", "**/next-env.d.ts", "**/back/**"]
},
"organizeImports": {
"enabled": true
@ -33,7 +33,7 @@
"noBannedTypes": "off"
}
},
"ignore": ["**/.yarn/**", "**/.next/**", "**/.expo/**", "**/next-env.d.ts"]
"ignore": ["**/.yarn/**", "**/.next/**", "**/.expo/**", "**/next-env.d.ts", "**/back/**"]
},
"javascript": {
"formatter": {

View File

@ -150,6 +150,7 @@ const Video = forwardRef<{ seek: (value: number) => void }, VideoProps>(function
const subtitle = useAtomValue(subtitleAtom);
useSubtitle(ref, subtitle, fonts);
// biome-ignore lint/correctness/useExhaustiveDependencies: do not restart on startPosition change
useLayoutEffect(() => {
if (!ref?.current || !source.uri) return;
if (!hls || oldHls.current !== source.hls) {