aboutsummaryrefslogtreecommitdiff
path: root/diplomacy/web/src/gui/components/navigation.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'diplomacy/web/src/gui/components/navigation.jsx')
-rw-r--r--diplomacy/web/src/gui/components/navigation.jsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/diplomacy/web/src/gui/components/navigation.jsx b/diplomacy/web/src/gui/components/navigation.jsx
index ba2bf28..accac8a 100644
--- a/diplomacy/web/src/gui/components/navigation.jsx
+++ b/diplomacy/web/src/gui/components/navigation.jsx
@@ -15,7 +15,7 @@
// with this program. If not, see <https://www.gnu.org/licenses/>.
// ==============================================================================
import React from "react";
-import Octicon, {Person} from "@primer/octicons-react";
+import {PersonIcon} from "@primer/octicons-react";
import PropTypes from "prop-types";
export class Navigation extends React.Component {
@@ -33,7 +33,7 @@ export class Navigation extends React.Component {
<div className={'float-right'}>
<strong>
<u className={'mr-2'}>{this.props.username}</u>
- <Octicon icon={Person}/>
+ <PersonIcon/>
</strong>
</div>
)) || (
@@ -44,7 +44,7 @@ export class Navigation extends React.Component {
{(this.props.username && (
<span>
<u className={'mr-2'}>{this.props.username}</u>
- <Octicon icon={Person}/>
+ <PersonIcon/>
</span>
)) || 'Menu'}
</button>