mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-07 14:05:44 +01:00
small icon correction
This commit is contained in:
@@ -28,7 +28,7 @@ class NavLink extends React.Component<Props> {
|
||||
|
||||
let showIcon = null;
|
||||
if (icon) {
|
||||
showIcon = (<><i className={icon}></i>{" "}</>);
|
||||
showIcon = (<><i className={icon} />{" "}</>);
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
@@ -39,7 +39,8 @@ class SubNavigation extends React.Component<Props> {
|
||||
return (
|
||||
<li>
|
||||
<Link className={this.isActive(route) ? "is-active" : ""} to={to}>
|
||||
<><i className={defaultIcon}></i>{" "}</>
|
||||
<i className={defaultIcon} />
|
||||
{" "}
|
||||
{label}
|
||||
</Link>
|
||||
{children}
|
||||
|
||||
Reference in New Issue
Block a user