fix: image
This commit is contained in:
parent
dfa7b4f175
commit
228880b977
1 changed files with 2 additions and 3 deletions
|
|
@ -7,8 +7,7 @@ import { Section } from '@/components/Section/Section'
|
|||
import styles from '@/components/DonationForm/styles.module.scss'
|
||||
import { Row } from '@/components/Flex/Row'
|
||||
import { Col } from '@/components/Flex/Col'
|
||||
import { Image } from '@/components/Image/Image'
|
||||
import { getPhoto } from '@/utils/dto/gallery'
|
||||
import Image from 'next/image'
|
||||
|
||||
export default async function DonationPage({ params }: { params: Promise<{id: string}>}) {
|
||||
const id = (await params).id;
|
||||
|
|
@ -32,7 +31,7 @@ export default async function DonationPage({ params }: { params: Promise<{id: st
|
|||
<Row alignItems={"center"}>
|
||||
<Col>
|
||||
{ typeof image == "object" && image.url &&
|
||||
<Image src={image.url} width={300} height={300} alt=""/>
|
||||
<Image src={image.url} width={300} height={300} alt="" unoptimized={true}/>
|
||||
}
|
||||
</Col>
|
||||
<Col>
|
||||
|
|
|
|||
Loading…
Reference in a new issue