Skip to content

Commit

Permalink
Merge pull request #107 from sxzz/fix/image-alt
Browse files Browse the repository at this point in the history
  • Loading branch information
songkeys authored Nov 24, 2022
2 parents ec653b7 + 4858b21 commit 9f7b7d5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions components/common/Image/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,8 @@ export default memo(function Image({
<NextImage
src={_src}
alt={
alt ?? typeof originalSrc === "string"
? (originalSrc as string)
: "image"
alt ??
(typeof originalSrc === "string" ? (originalSrc as string) : "image")
}
loader={thumborLoader}
placeholder={placeholder}
Expand Down

1 comment on commit 9f7b7d5

@vercel
Copy link

@vercel vercel bot commented on 9f7b7d5 Nov 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

crossbell-io – ./

crossbell.vercel.app
crossbell-io-git-main-crossbell.vercel.app
crossbell-io-crossbell.vercel.app

Please sign in to comment.