Fix eslint errors
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user