Skip to content

Commit

Permalink
style: move wrapper place
Browse files Browse the repository at this point in the history
  • Loading branch information
hendraaagil committed Jan 12, 2023
1 parent 9d6cbaa commit 5cd2316
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/modules/uses/Hardware.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,20 @@ export const Hardware = () => {
<Heading variant="h3">{list.heading}</Heading>
<UnorderedList className="space-y-1">
{list.lists.map((item) => (
<LinkWrapper key={item.name || item.title} link={item.link}>
<li>
<li key={item.name || item.title}>
<LinkWrapper link={item.link}>
{item.title && <strong>{item.title}</strong>} {item.name}
{item.specs && (
<UnorderedList className="space-y-1">
{item.specs?.map((spec) => (
<li key={spec.title}>
<strong>{spec.title}</strong> {spec.name}
</li>
))}
</UnorderedList>
)}
</li>
</LinkWrapper>
</LinkWrapper>
{item.specs && (
<UnorderedList className="space-y-1">
{item.specs?.map((spec) => (
<li key={spec.title}>
<strong>{spec.title}</strong> {spec.name}
</li>
))}
</UnorderedList>
)}
</li>
))}
</UnorderedList>
</div>
Expand Down

1 comment on commit 5cd2316

@vercel
Copy link

@vercel vercel bot commented on 5cd2316 Jan 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.