Format code

This commit is contained in:
Zoe Roux 2024-05-26 18:39:38 +02:00
parent e015882834
commit 21e1fa6376
No known key found for this signature in database
3 changed files with 12 additions and 12 deletions

View File

@ -27,16 +27,16 @@ import {
ConnectionErrorContext,
type QueryIdentifier,
type QueryPage,
type ServerInfo,
ServerInfoP,
SetupStep,
UserP,
createQueryClient,
fetchQuery,
getTokenWJ,
setSsrApiUrl,
useUserTheme,
SetupStep,
type ServerInfo,
useFetch,
useUserTheme,
} from "@kyoo/models";
import { getCurrentAccount, readCookie, updateAccount } from "@kyoo/models/src/account-internal";
import {
@ -54,12 +54,12 @@ import arrayShuffle from "array-shuffle";
import NextApp, { type AppContext, type AppProps } from "next/app";
import { Poppins } from "next/font/google";
import Head from "next/head";
import { type ComponentType, useContext, useState, useEffect } from "react";
import { type NextRouter, useRouter } from "next/router";
import { type ComponentType, useContext, useEffect, useState } from "react";
import { Tooltip } from "react-tooltip";
import superjson from "superjson";
import { StyleRegistryProvider, useMobileHover, useStyleRegistry, useTheme } from "yoshiki/web";
import { withTranslations } from "../i18n";
import { NextRouter, useRouter } from "next/router";
const font = Poppins({ weight: ["300", "400", "900"], subsets: ["latin"], display: "swap" });

View File

@ -1,12 +1,12 @@
import { SetupStep, type QueryPage } from "@kyoo/models";
import { Button, Icon, Link, P, ts } from "@kyoo/primitives";
import { useTranslation } from "react-i18next";
import { Main } from "@expo/html-elements";
import { useYoshiki } from "yoshiki/native";
import { type QueryPage, SetupStep } from "@kyoo/models";
import { Button, Icon, Link, P, ts } from "@kyoo/primitives";
import Register from "@material-symbols/svg-400/rounded/app_registration.svg";
import { Navbar, NavbarProfile } from "../navbar";
import { useEffect } from "react";
import { useTranslation } from "react-i18next";
import { useRouter } from "solito/router";
import { useYoshiki } from "yoshiki/native";
import { Navbar, NavbarProfile } from "../navbar";
import { KyooLongLogo } from "../navbar/icon";
export const SetupPage: QueryPage<{ step: SetupStep }> = ({ step }) => {

View File

@ -38,11 +38,11 @@ import Login from "@material-symbols/svg-400/rounded/login.svg";
import Logout from "@material-symbols/svg-400/rounded/logout.svg";
import Search from "@material-symbols/svg-400/rounded/search-fill.svg";
import Settings from "@material-symbols/svg-400/rounded/settings.svg";
import { ReactElement, forwardRef, useEffect, useRef, useState } from "react";
import { type ReactElement, forwardRef, useEffect, useRef, useState } from "react";
import { useTranslation } from "react-i18next";
import { Platform, type TextInput, View, type ViewProps } from "react-native";
import { useRouter } from "solito/router";
import { type Stylable, useYoshiki, percent } from "yoshiki/native";
import { type Stylable, percent, useYoshiki } from "yoshiki/native";
import { AdminPage } from "../admin";
import { KyooLongLogo } from "./icon";