mirror of
https://github.com/tale/headplane.git
synced 2026-08-20 18:02:17 +00:00
style: run biome lint
This commit is contained in:
@@ -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';
|
||||
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Dispatch, ReactNode, SetStateAction } from 'react';
|
||||
import type { Dispatch, ReactNode, SetStateAction } from 'react';
|
||||
import {
|
||||
Button as AriaButton,
|
||||
Dialog as AriaDialog,
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Dispatch, ReactNode, SetStateAction } from 'react';
|
||||
import type { Dispatch, ReactNode, SetStateAction } from 'react';
|
||||
import {
|
||||
Button as AriaButton,
|
||||
Menu as AriaMenu,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import clsx from 'clsx';
|
||||
import { HTMLProps } from 'react';
|
||||
import type { HTMLProps } from 'react';
|
||||
|
||||
type Props = HTMLProps<SVGElement> & {
|
||||
readonly isOnline: boolean;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import clsx from 'clsx';
|
||||
import { HTMLProps } from 'react';
|
||||
import type { HTMLProps } from 'react';
|
||||
|
||||
function TableList(props: HTMLProps<HTMLDivElement>) {
|
||||
return (
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ReactNode } from 'react';
|
||||
import type { ReactNode } from 'react';
|
||||
import {
|
||||
Button as AriaButton,
|
||||
Tooltip as AriaTooltip,
|
||||
|
||||
Reference in New Issue
Block a user