From 5cebca67bcf4cb3b71a4ad32fe272fae4e9a7665 Mon Sep 17 00:00:00 2001 From: nikec <43032218+niikeec@users.noreply.github.com> Date: Tue, 16 Jan 2024 12:33:41 +0100 Subject: [PATCH] [ENG-1545] Remove cover prop from img tag (#1942) remove cover prop --- interface/app/$libraryId/Explorer/FilePath/Image.tsx | 1 - interface/app/$libraryId/Explorer/FilePath/Thumb.tsx | 1 - 2 files changed, 2 deletions(-) diff --git a/interface/app/$libraryId/Explorer/FilePath/Image.tsx b/interface/app/$libraryId/Explorer/FilePath/Image.tsx index cc6040a9b..5be914315 100644 --- a/interface/app/$libraryId/Explorer/FilePath/Image.tsx +++ b/interface/app/$libraryId/Explorer/FilePath/Image.tsx @@ -3,7 +3,6 @@ import { ComponentProps, forwardRef } from 'react'; import { useSize } from './utils'; export interface ImageProps extends ComponentProps<'img'> { - cover?: boolean; extension?: string; size: ReturnType; } diff --git a/interface/app/$libraryId/Explorer/FilePath/Thumb.tsx b/interface/app/$libraryId/Explorer/FilePath/Thumb.tsx index b0c2930f3..051c7aa36 100644 --- a/interface/app/$libraryId/Explorer/FilePath/Thumb.tsx +++ b/interface/app/$libraryId/Explorer/FilePath/Thumb.tsx @@ -266,7 +266,6 @@ const Thumbnail = forwardRef( className, blackBarsStyle && size.width === 0 && 'invisible' ), - cover, style: { ...style, ...(blackBars ? blackBarsStyle : undefined) }, size, ref