diff --git a/packages/web/components/patterns/LibraryCards/LibraryGridCard.tsx b/packages/web/components/patterns/LibraryCards/LibraryGridCard.tsx index 5fbad4e89..faafe6cf7 100644 --- a/packages/web/components/patterns/LibraryCards/LibraryGridCard.tsx +++ b/packages/web/components/patterns/LibraryCards/LibraryGridCard.tsx @@ -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, diff --git a/packages/web/components/patterns/LibraryCards/LibraryHoverActions.tsx b/packages/web/components/patterns/LibraryCards/LibraryHoverActions.tsx index bdcb580d2..d17c39bca 100644 --- a/packages/web/components/patterns/LibraryCards/LibraryHoverActions.tsx +++ b/packages/web/components/patterns/LibraryCards/LibraryHoverActions.tsx @@ -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 diff --git a/packages/web/components/patterns/LibraryCards/LibraryListCard.tsx b/packages/web/components/patterns/LibraryCards/LibraryListCard.tsx index 3b69d39b7..3fa3968e4 100644 --- a/packages/web/components/patterns/LibraryCards/LibraryListCard.tsx +++ b/packages/web/components/patterns/LibraryCards/LibraryListCard.tsx @@ -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,