Skip to content

Commit

Permalink
fix: remove comments outs
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsukiKigoshi committed Jul 15, 2024
1 parent 10dfea8 commit 55eb545
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions src/components/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,17 @@ export default function Main() {
},
];

const linkButtons = links.map(
(
link // This is a map function. It is used to create a list of elements.
) => (
<IconButton
key={link.name} // This is a unique key for each element. It is used to identify each element.
href={link.href}
target="_blank"
color="primary"
aria-label={link.name}
>
<link.Icon />
</IconButton>
)
);
const linkButtons = links.map((link) => (
<IconButton
key={link.name}
href={link.href}
target="_blank"
color="primary"
aria-label={link.name}
>
<link.Icon />
</IconButton>
));

return (
<Box
Expand Down

0 comments on commit 55eb545

Please sign in to comment.