Linting cleanup

This commit is contained in:
Jackson Harper 2023-06-26 15:58:53 +08:00
parent 92b4f0e523
commit b6cbbd765d
3 changed files with 1 additions and 13 deletions

View file

@ -5,16 +5,7 @@ import { CoverImage } from '../../elements/CoverImage'
import dayjs from 'dayjs'
import relativeTime from 'dayjs/plugin/relativeTime'
import { useCallback, useState } from 'react'
import {
ArchiveBox,
DotsThree,
DotsThreeVertical,
Tag,
Trash,
Tray,
} from 'phosphor-react'
import Link from 'next/link'
import { CardMenu } from '../CardMenu'
import {
AuthorInfoStyle,
CardCheckbox,
@ -25,8 +16,6 @@ import {
TitleStyle,
} from './LibraryCardStyles'
import { sortedLabels } from '../../../lib/labelsSort'
import { Button } from '../../elements/Button'
import { theme } from '../../tokens/stitches.config'
import { LibraryHoverActions } from './LibraryHoverActions'
import {
useHover,

View file

@ -14,7 +14,6 @@ import {
} from 'phosphor-react'
import { CardMenu } from '../CardMenu'
import { UserBasicData } from '../../../lib/networking/queries/useGetViewerQuery'
import { useFloating, shift, offset } from '@floating-ui/react'
type LibraryHoverActionsProps = {
viewer: UserBasicData

View file

@ -1,7 +1,7 @@
import { Box, VStack, HStack, SpanBox } from '../../elements/LayoutPrimitives'
import { LabelChip } from '../../elements/LabelChip'
import type { LinkedItemCardProps } from './CardTypes'
import { useCallback, useEffect, useState } from 'react'
import { useCallback, useState } from 'react'
import Link from 'next/link'
import {
AuthorInfoStyle,