Format code

This commit is contained in:
Zoe Roux 2024-08-12 09:37:39 +02:00
parent 18a473b987
commit d9685acbbf
No known key found for this signature in database
4 changed files with 5 additions and 10 deletions

View File

@ -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",

View File

@ -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"

View File

@ -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";

View File

@ -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);