Skip to content

Commit

Permalink
fixing null value error
Browse files Browse the repository at this point in the history
  • Loading branch information
isaaclombardssw committed Oct 30, 2024
1 parent 35f004b commit 5711bce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/blocks/Quote.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Image from 'next/image'
import React from 'react'
import { tinaField } from 'tinacms/dist/react'
import { Container } from './Container'
import Image from 'next/image'

export const QuoteBlock = ({ data, index }) => {
return (
Expand All @@ -11,7 +11,7 @@ export const QuoteBlock = ({ data, index }) => {
<Container width="wide">
<div className="flex flex-col items-center lg:justify-center gap-12 lg:gap-36 perspective lg:flex-row">
<div className="lg:w-1/5 flex flex-col gap-6 lg:gap-8 max-w-sm">
<Image src={data.logo}
<Image src={data.logo ?? ""}
alt={data.title2}
height={600}
width={600}
Expand Down

0 comments on commit 5711bce

Please sign in to comment.