This is an automated email from the ASF dual-hosted git repository.
klesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new 3efad6ab9 fix(config-ui): missed key of header links (#6504)
3efad6ab9 is described below
commit 3efad6ab9cf60ad535730f60a57714794a20af3e
Author: 青湛 <[email protected]>
AuthorDate: Fri Nov 24 15:16:35 2023 +1300
fix(config-ui): missed key of header links (#6504)
---
config-ui/src/routes/layout/layout.tsx | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/config-ui/src/routes/layout/layout.tsx
b/config-ui/src/routes/layout/layout.tsx
index d3ea40f73..84b89225e 100644
--- a/config-ui/src/routes/layout/layout.tsx
+++ b/config-ui/src/routes/layout/layout.tsx
@@ -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 }}>