aboutsummaryrefslogtreecommitdiff
path: root/diplomacy/web/src/gui/components/navigation.jsx
diff options
context:
space:
mode:
authorJeff Heiges <jehe8729@colorado.edu>2025-03-11 08:53:29 +0000
committerJeff Heiges <jehe8729@colorado.edu>2025-03-11 08:53:29 +0000
commit83bd29b4b416b31a99949de868434551dd560203 (patch)
treea02ea1fbe51d2c4112e73a4e8d879ca40582197d /diplomacy/web/src/gui/components/navigation.jsx
parent493dafadb112094974ea28e083fdf11dad906034 (diff)
Fixed Octicon errors
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>