Skip to content

Commit

Permalink
fix(config-ui): missed key of header links (#6504)
Browse files Browse the repository at this point in the history
  • Loading branch information
mintsweet authored Nov 24, 2023
1 parent 8965cee commit 3efad6a
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions config-ui/src/routes/layout/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,11 @@ export const Layout = () => {
}}
>
{headerItems.map((item, i) => (
<>
<ExternalLink key={item.label} link={item.link} style={{ display: 'flex', alignItems: 'center' }}>
{item.icon}
<span style={{ marginLeft: 4 }}>{item.label}</span>
</ExternalLink>
<ExternalLink key={item.label} link={item.link} style={{ display: 'flex', alignItems: 'center' }}>
{item.icon}
<span style={{ marginLeft: 4 }}>{item.label}</span>
{i !== headerItems.length - 1 && <Divider type="vertical" />}
</>
</ExternalLink>
))}
</Header>
<Content style={{ margin: '0 auto', maxWidth: 1188 }}>
Expand Down

0 comments on commit 3efad6a

Please sign in to comment.