Skip to content
This repository was archived by the owner on Dec 26, 2023. It is now read-only.

Commit 9b1d0c9

Browse files
authored
Update partner image url for object storage (#260)
1 parent 13475fa commit 9b1d0c9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

frontend/src/Components/Partners/index.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ const Partners = ({ partnerData }: Props) => {
3333
Our Partners
3434
</Heading>
3535
<Flex flexDir={{ base: 'column', xl: 'row' }} alignItems={'center'}>
36-
{console.log(partnerData)}
3736
{partnerData ? (
3837
partnerData?.map((item: any, index: number) => {
3938
return (
@@ -47,8 +46,8 @@ const Partners = ({ partnerData }: Props) => {
4746
<Image
4847
src={
4948
colorMode === 'dark'
50-
? `${process.env.NEXT_PUBLIC_CMS_URL}${item.attributes.logo_dark.data?.attributes.url}`
51-
: `${process.env.NEXT_PUBLIC_CMS_URL}${item.attributes.logo_light.data?.attributes.url}`
49+
? `${item.attributes.logo_dark.data?.attributes.url}`
50+
: `${item.attributes.logo_light.data?.attributes.url}`
5251
}
5352
alt={item.attributes?.name || 'partner image'}
5453
/>

0 commit comments

Comments
 (0)