1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Use type import for react FC

Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
grafixeyehero 2024-02-28 21:02:05 +03:00
parent 36c19ec39a
commit 533ae17767
45 changed files with 47 additions and 48 deletions

View file

@ -1,4 +1,4 @@
import React, { FC } from 'react';
import React, { type FC } from 'react';
import useList from './useList';
import ListContent from './ListContent';
import ListWrapper from './ListWrapper';

View file

@ -1,5 +1,5 @@
import { BaseItemKind } from '@jellyfin/sdk/lib/generated-client';
import React, { FC } from 'react';
import React, { type FC } from 'react';
import DragHandleIcon from '@mui/icons-material/DragHandle';
import Box from '@mui/material/Box';

View file

@ -1,4 +1,4 @@
import React, { FC } from 'react';
import React, { type FC } from 'react';
import Box from '@mui/material/Box';
interface ListContentWrapperProps {

View file

@ -1,4 +1,4 @@
import React, { FC } from 'react';
import React, { type FC } from 'react';
import Typography from '@mui/material/Typography';
interface ListGroupHeaderWrapperProps {

View file

@ -1,4 +1,4 @@
import React, { FC } from 'react';
import React, { type FC } from 'react';
import classNames from 'classnames';
import Box from '@mui/material/Box';
import { useApi } from 'hooks/useApi';

View file

@ -1,4 +1,4 @@
import React, { FC } from 'react';
import React, { type FC } from 'react';
import classNames from 'classnames';
import Box from '@mui/material/Box';
import useListTextlines from './useListTextlines';

View file

@ -1,4 +1,4 @@
import React, { FC } from 'react';
import React, { type FC } from 'react';
import Box from '@mui/material/Box';
import Typography from '@mui/material/Typography';

View file

@ -1,4 +1,4 @@
import React, { FC } from 'react';
import React, { type FC } from 'react';
import { Box } from '@mui/material';
import itemHelper from '../../itemHelper';
import PlayedButton from 'elements/emby-playstatebutton/PlayedButton';

View file

@ -1,6 +1,6 @@
import classNames from 'classnames';
import escapeHTML from 'escape-html';
import React, { FC } from 'react';
import React, { type FC } from 'react';
import Box from '@mui/material/Box';
import Button from '@mui/material/Button';
import layoutManager from '../../layoutManager';

View file

@ -1,4 +1,4 @@
import React, { FC } from 'react';
import React, { type FC } from 'react';
import escapeHTML from 'escape-html';
import { groupBy } from 'lodash-es';
import Box from '@mui/material/Box';