Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
DiogoSoaress committed Aug 29, 2024
1 parent 8c9b91f commit 7faf95b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/Wallet/VerticalSlide/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ const VerticalSlide = (props: BaseBlockEntry) => {
<Grid container spacing="40px" justifyContent="flex-end">
<Grid item md={7} className={css.imageItem}>
<div className={css.imageWrapper}>
{isAsset(itemsImages[selectedIndex]) && itemsImages[selectedIndex].fields.file?.url ? (
{itemsImages[selectedIndex] &&
isAsset(itemsImages[selectedIndex]) &&
itemsImages[selectedIndex].fields.file?.url ? (
<img
src={itemsImages[selectedIndex].fields.file.url}
alt={itemsImages[selectedIndex].fields.title ?? ''}
Expand Down

0 comments on commit 7faf95b

Please sign in to comment.