1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-04 16:31:13 +00:00

Improve hu requirement (#4502)

* optimize code

* optimize code

* optimize code
This commit is contained in:
杨顺强
2020-03-25 20:20:56 +08:00
committed by GitHub
parent 011cb33fbb
commit 6c417b6fb4
9 changed files with 21 additions and 20 deletions

View File

@@ -20,7 +20,7 @@ class SideNavFooter extends React.Component {
if (extraAppBottomLinks && (typeof extraAppBottomLinks) === 'object') {
let keys = Object.keys(extraAppBottomLinks);
return keys.map((key, index) => {
return <a key={index} className="item" href={extraAppBottomLinks[key]} aria-hidden="true">{key}</a>;
return <a key={index} className="item" href={extraAppBottomLinks[key]}>{key}</a>;
});
}
return null;