Remove unused imports

This commit is contained in:
Jackson Harper 2024-02-29 12:05:41 +08:00
parent 614b086ca4
commit 0640233e8a
5 changed files with 0 additions and 13 deletions

View file

@ -1,6 +1,5 @@
import { DetailedHTMLProps, MetaHTMLAttributes } from 'react'
import Head from 'next/head'
import { useDarkModeListener } from '../../lib/hooks/useDarkModeListener'
import { webBaseURL } from '../../lib/appConfig'
type MetaTag = DetailedHTMLProps<
@ -27,8 +26,6 @@ function openGraphType(ogImage: string | null): string {
}
export function PageMetaData(props: PageMetaDataProps): JSX.Element {
const isDarkMode = useDarkModeListener()
return (
<Head>
<link rel="icon" href="/static/icons/favicon.ico" sizes="32x32" />

View file

@ -1,19 +1,14 @@
import { useState } from 'react'
import { UploadModal } from '../UploadModal'
import { LayoutType } from './HomeFeedContainer'
import { UserBasicData } from '../../../lib/networking/queries/useGetViewerQuery'
import { MultiSelectMode } from './LibraryHeader'
import { LibraryItem } from '../../../lib/networking/queries/useGetLibraryItemsQuery'
import { HStack, SpanBox, VStack } from '../../elements/LayoutPrimitives'
import { Toaster } from 'react-hot-toast'
import TopBarProgress from 'react-topbar-progress-indicator'
import { StyledText } from '../../elements/StyledText'
import { Button } from '../../elements/Button'
import { LIBRARY_LEFT_MENU_WIDTH } from '../navMenu/LibraryLegacyMenu'
import { ArchiveIcon } from '../../elements/icons/ArchiveIcon'
import { TrashIcon } from '../../elements/icons/TrashIcon'
import { BrowserIcon } from '../../elements/icons/BrowserIcon'
import CheckboxComponent from '../../elements/Checkbox'
type TLDRLayoutProps = {
layout: LayoutType

View file

@ -27,10 +27,7 @@ import { HighlightsIcon } from '../../elements/icons/HighlightsIcon'
import { CoverImage } from '../../elements/CoverImage'
import { Shortcut } from '../../../pages/settings/shortcuts'
import { OutlinedLabelChip } from '../../elements/OutlinedLabelChip'
import { NewsletterFlairIcon } from '../../elements/icons/NewsletterFlairIcon'
import { FeedFlairIcon } from '../../elements/icons/FeedFlairIcon'
import { NewsletterIcon } from '../../elements/icons/NewsletterIcon'
import { DropdownMenu } from '@radix-ui/react-dropdown-menu'
import { Dropdown, DropdownOption } from '../../elements/DropdownElements'
import { useRouter } from 'next/router'

View file

@ -1,4 +1,3 @@
import { DropdownMenu } from '@radix-ui/react-dropdown-menu'
import { SETTINGS_SECTION_1, SETTINGS_SECTION_2 } from './SettingsMenu'
import {
Dropdown,

View file

@ -3,7 +3,6 @@ import { Label } from '../networking/fragments/labelFragment'
import { showErrorToast } from '../toastHelpers'
import { setLabelsForHighlight } from '../networking/mutations/setLabelsForHighlight'
import { LabelsDispatcher } from './useSetPageLabels'
import { Highlight } from '../networking/fragments/highlightFragment'
export const useSetHighlightLabels = (
highlightId?: string