style: run biome lint

This commit is contained in:
Aarnav Tale 2024-12-31 10:31:50 +05:30
parent aa9872a45b
commit f3c9d8b54c
No known key found for this signature in database
39 changed files with 57 additions and 57 deletions

View file

@ -1,8 +1,8 @@
import { Form, useSubmit } from 'react-router';
import { type Dispatch, type SetStateAction } from 'react';
import type { Dispatch, SetStateAction } from 'react';
import Dialog from '~/components/Dialog';
import { type Machine } from '~/types';
import type { Machine } from '~/types';
import { cn } from '~/utils/cn';
interface DeleteProps {

View file

@ -1,8 +1,8 @@
import { Form, useSubmit } from 'react-router';
import { type Dispatch, type SetStateAction } from 'react';
import type { Dispatch, SetStateAction } from 'react';
import Dialog from '~/components/Dialog';
import { type Machine } from '~/types';
import type { Machine } from '~/types';
import { cn } from '~/utils/cn';
interface ExpireProps {

View file

@ -4,7 +4,7 @@ import { type Dispatch, type SetStateAction, useState } from 'react';
import Code from '~/components/Code';
import Dialog from '~/components/Dialog';
import Select from '~/components/Select';
import { type Machine, User } from '~/types';
import type { Machine, User } from '~/types';
interface MoveProps {
readonly machine: Machine;

View file

@ -10,7 +10,7 @@ import Select from '~/components/Select';
import Menu from '~/components/Menu';
import Spinner from '~/components/Spinner';
import { toast } from '~/components/Toaster';
import { Machine, User } from '~/types';
import { Machine, type User } from '~/types';
export interface NewProps {
server: string;

View file

@ -4,7 +4,7 @@ import { type Dispatch, type SetStateAction, useState } from 'react';
import Code from '~/components/Code';
import Dialog from '~/components/Dialog';
import TextField from '~/components/TextField';
import { type Machine } from '~/types';
import type { Machine } from '~/types';
interface RenameProps {
readonly machine: Machine;

View file

@ -1,10 +1,10 @@
import { useFetcher } from 'react-router';
import { Dispatch, SetStateAction, useMemo } from 'react';
import { type Dispatch, type SetStateAction, useMemo } from 'react';
import Dialog from '~/components/Dialog';
import Switch from '~/components/Switch';
import Link from '~/components/Link';
import { Machine, Route } from '~/types';
import type { Machine, Route } from '~/types';
import { cn } from '~/utils/cn';
interface RoutesProps {

View file

@ -1,11 +1,11 @@
import { PlusIcon, XIcon } from '@primer/octicons-react';
import { Form, useSubmit } from 'react-router';
import { Dispatch, SetStateAction, useState } from 'react';
import { type Dispatch, type SetStateAction, useState } from 'react';
import { Button, Input } from 'react-aria-components';
import Dialog from '~/components/Dialog';
import Link from '~/components/Link';
import { Machine } from '~/types';
import type { Machine } from '~/types';
import { cn } from '~/utils/cn';
interface TagsProps {