Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
idamand committed Nov 28, 2024
1 parent f714f20 commit 9d5d17c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
6 changes: 4 additions & 2 deletions src/components/customerCases/customerCase/CustomerCase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@ export default async function CustomerCase({
/>
<hr className={styles.divider} />
<div className={styles.projectInfoWrapper}>
<CustomerCaseProjectInfo projectInfo={customerCase.projectInfo} />
clientColors={customerCase.clientColors}
<CustomerCaseProjectInfo
projectInfo={customerCase.projectInfo}
clientColors={customerCase.clientColors}
/>
</div>
<div className={styles.mainImageWrapper}>
<SanitySharedImage image={customerCase.image} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ export default async function CustomerCaseProjectInfo({
<div className={styles.badgeWrapper}>
{projectInfo.customerSectors.map((sector: CustomerSector) => (
<Badge
key={sector._key}
badgeColor={clientColors.color}
textColor={clientColors.badgeText}
>
{sector.customerSector}
</Badge>
key={sector._key}
badgeColor={clientColors.color}
textColor={clientColors.badgeText}
>
{sector.customerSector}
</Badge>
))}
</div>
</div>
Expand Down Expand Up @@ -127,6 +127,7 @@ export default async function CustomerCaseProjectInfo({
</Text>
),
)}
</div>
</div>
)}
{projectInfo.deliveries["design"] && (
Expand Down

0 comments on commit 9d5d17c

Please sign in to comment.