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,4 +1,4 @@
import { Dispatch, SetStateAction } from 'react';
import type { Dispatch, SetStateAction } from 'react';
import { Button as AriaButton } from 'react-aria-components';
import { cn } from '~/utils/cn';

View file

@ -1,4 +1,4 @@
import { HTMLProps } from 'react';
import type { HTMLProps } from 'react';
import { Heading as AriaHeading } from 'react-aria-components';
import { cn } from '~/utils/cn';

View file

@ -1,4 +1,4 @@
import { useState, HTMLProps } from 'react';
import { useState, type HTMLProps } from 'react';
import { CopyIcon, CheckIcon } from '@primer/octicons-react';
import { cn } from '~/utils/cn';
import { toast } from '~/components/Toaster';

View file

@ -1,4 +1,4 @@
import { Dispatch, ReactNode, SetStateAction } from 'react';
import type { Dispatch, ReactNode, SetStateAction } from 'react';
import {
Button as AriaButton,
Dialog as AriaDialog,

View file

@ -10,8 +10,8 @@ import {
import { Form } from 'react-router';
import { cn } from '~/utils/cn';
import { HeadplaneContext } from '~/utils/config/headplane';
import { SessionData } from '~/utils/sessions';
import type { HeadplaneContext } from '~/utils/config/headplane';
import type { SessionData } from '~/utils/sessions';
import Menu from './Menu';
import TabLink from './TabLink';

View file

@ -1,4 +1,4 @@
import { Dispatch, ReactNode, SetStateAction } from 'react';
import type { Dispatch, ReactNode, SetStateAction } from 'react';
import {
Button as AriaButton,
Menu as AriaMenu,

View file

@ -1,5 +1,5 @@
import { PlusIcon, DashIcon } from '@primer/octicons-react';
import { Dispatch, SetStateAction } from 'react';
import type { Dispatch, SetStateAction } from 'react';
import {
Button,
Group,

View file

@ -1,5 +1,5 @@
import { ChevronDownIcon } from '@primer/octicons-react';
import { Dispatch, ReactNode, SetStateAction } from 'react';
import type { Dispatch, ReactNode, SetStateAction } from 'react';
import {
Button,
ListBox,

View file

@ -1,5 +1,5 @@
import clsx from 'clsx';
import { HTMLProps } from 'react';
import type { HTMLProps } from 'react';
type Props = HTMLProps<SVGElement> & {
readonly isOnline: boolean;

View file

@ -1,5 +1,5 @@
import clsx from 'clsx';
import { HTMLProps } from 'react';
import type { HTMLProps } from 'react';
function TableList(props: HTMLProps<HTMLDivElement>) {
return (

View file

@ -1,4 +1,4 @@
import { Dispatch, SetStateAction } from 'react';
import type { Dispatch, SetStateAction } from 'react';
import { Input, TextField as AriaTextField } from 'react-aria-components';
import { cn } from '~/utils/cn';

View file

@ -1,7 +1,7 @@
import { XIcon } from '@primer/octicons-react';
import { AriaToastProps, useToast, useToastRegion } from '@react-aria/toast';
import { ToastQueue, ToastState, useToastQueue } from '@react-stately/toast';
import { ReactNode, useRef } from 'react';
import { type AriaToastProps, useToast, useToastRegion } from '@react-aria/toast';
import { ToastQueue, type ToastState, useToastQueue } from '@react-stately/toast';
import { type ReactNode, useRef } from 'react';
import { Button } from 'react-aria-components';
import { createPortal } from 'react-dom';
import { ClientOnly } from 'remix-utils/client-only';

View file

@ -1,4 +1,4 @@
import { ReactNode } from 'react';
import type { ReactNode } from 'react';
import {
Button as AriaButton,
Tooltip as AriaTooltip,