Skip to content

Commit

Permalink
Updating image
Browse files Browse the repository at this point in the history
  • Loading branch information
7emansell committed Oct 5, 2023
1 parent bf3ca71 commit 090c82e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/components/FeaturedContent/FeaturedContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,10 @@ export interface FeaturedContentProps {

/**
* The FeaturedContentImage component is used internally in the `FeaturedContent` component. It
* renders an `Image` component but with overriding styles specific to the
* renders an 'img' element but with overriding styles specific to the
* `FeaturedContent` component.
*/
function FeaturedContentImage(
props: React.ComponentProps<"img"> & FeaturedContentImageProps
) {
function FeaturedContentImage(props: FeaturedContentImageProps) {
const { alt, src } = props;
return <img alt={alt} src={src} style={{ display: "none" }} />;
}
Expand Down

0 comments on commit 090c82e

Please sign in to comment.