mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix eslint errors
This commit is contained in:
parent
018d8d3f83
commit
8a6f33fff8
18 changed files with 48 additions and 48 deletions
|
@ -15,8 +15,8 @@ import type { ItemDto } from 'types/base/models/item-dto';
|
|||
import type { CardOptions } from 'types/cardOptions';
|
||||
|
||||
interface CardHoverMenuProps {
|
||||
item: ItemDto;
|
||||
cardOptions: CardOptions;
|
||||
item: ItemDto;
|
||||
cardOptions: CardOptions;
|
||||
}
|
||||
|
||||
const CardHoverMenu: FC<CardHoverMenuProps> = ({
|
||||
|
|
|
@ -103,7 +103,7 @@ export const resolveCardCssClasses = (opts: CardCssClassOpts): string => {
|
|||
* Resolves applicable Card Image container CSS classes
|
||||
* @param opts options for determining which CSS classes are applicable
|
||||
*/
|
||||
export const resolveCardImageContainerCssClasses = (opts: { itemType: string, hasCoverImage: boolean, itemName?: string, imgUrl?: string}): string => {
|
||||
export const resolveCardImageContainerCssClasses = (opts: { itemType: string, hasCoverImage: boolean, itemName?: string, imgUrl?: string }): string => {
|
||||
return classNames({
|
||||
'cardImageContainer': true,
|
||||
'coveredImage': opts.hasCoverImage,
|
||||
|
|
|
@ -3,7 +3,7 @@ import type { RouteObject } from 'react-router-dom';
|
|||
export enum AsyncRouteType {
|
||||
Stable,
|
||||
Experimental,
|
||||
Dashboard,
|
||||
Dashboard
|
||||
}
|
||||
|
||||
export interface AsyncRoute {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue