mirror of
				https://github.com/zoriya/Kyoo.git
				synced 2025-11-03 19:17:16 -05:00 
			
		
		
		
	Format code
This commit is contained in:
		
							parent
							
								
									18a473b987
								
							
						
					
					
						commit
						d9685acbbf
					
				@ -2,9 +2,7 @@
 | 
			
		||||
	"name": "web",
 | 
			
		||||
	"version": "0.1.0",
 | 
			
		||||
	"private": true,
 | 
			
		||||
	"sideEffects": [
 | 
			
		||||
		"./src/polyfill.ts"
 | 
			
		||||
	],
 | 
			
		||||
	"sideEffects": ["./src/polyfill.ts"],
 | 
			
		||||
	"scripts": {
 | 
			
		||||
		"dev": "next dev",
 | 
			
		||||
		"build": "next build",
 | 
			
		||||
 | 
			
		||||
@ -15,10 +15,7 @@
 | 
			
		||||
		"format": "biome format .",
 | 
			
		||||
		"format:fix": "biome format . --write"
 | 
			
		||||
	},
 | 
			
		||||
	"workspaces": [
 | 
			
		||||
		"apps/*",
 | 
			
		||||
		"packages/*"
 | 
			
		||||
	],
 | 
			
		||||
	"workspaces": ["apps/*", "packages/*"],
 | 
			
		||||
	"devDependencies": {
 | 
			
		||||
		"@biomejs/biome": "1.8.3",
 | 
			
		||||
		"typescript": "5.5.4"
 | 
			
		||||
 | 
			
		||||
@ -40,7 +40,7 @@ import { FlashList } from "@shopify/flash-list";
 | 
			
		||||
import { useRouter } from "expo-router";
 | 
			
		||||
import { type Atom, useAtomValue } from "jotai";
 | 
			
		||||
import { useTranslation } from "react-i18next";
 | 
			
		||||
import { type ImageStyle, View } from "react-native";
 | 
			
		||||
import { View } from "react-native";
 | 
			
		||||
import { percent, useYoshiki } from "yoshiki/native";
 | 
			
		||||
import { EpisodeLine, displayRuntime, episodeDisplayNumber } from "../details/episode";
 | 
			
		||||
import { EmptyView } from "../fetch";
 | 
			
		||||
 | 
			
		||||
@ -20,7 +20,7 @@
 | 
			
		||||
 | 
			
		||||
import { type Audio, type Episode, type Subtitle, getLocalSetting, useAccount } from "@kyoo/models";
 | 
			
		||||
import { useSnackbar } from "@kyoo/primitives";
 | 
			
		||||
import { atom, useAtom, useAtomValue, useSetAtom, getDefaultStore } from "jotai";
 | 
			
		||||
import { atom, getDefaultStore, useAtom, useAtomValue, useSetAtom } from "jotai";
 | 
			
		||||
import { useAtomCallback } from "jotai/utils";
 | 
			
		||||
import {
 | 
			
		||||
	type ElementRef,
 | 
			
		||||
@ -33,7 +33,7 @@ import {
 | 
			
		||||
} from "react";
 | 
			
		||||
import { useTranslation } from "react-i18next";
 | 
			
		||||
import { Platform } from "react-native";
 | 
			
		||||
import NativeVideo, { canPlay, VideoMetadata, type VideoProps } from "./video";
 | 
			
		||||
import NativeVideo, { canPlay, type VideoMetadata, type VideoProps } from "./video";
 | 
			
		||||
 | 
			
		||||
export const playAtom = atom(true);
 | 
			
		||||
export const loadAtom = atom(false);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user