From 83bd29b4b416b31a99949de868434551dd560203 Mon Sep 17 00:00:00 2001 From: Jeff Heiges Date: Tue, 11 Mar 2025 08:53:29 +0000 Subject: Fixed Octicon errors --- diplomacy/web/src/gui/components/navigation.jsx | 6 +++--- diplomacy/web/src/gui/wizards/gameCreation/panelChoosePlayers.js | 4 ++-- diplomacy/web/src/gui/wizards/gameCreation/panelChoosePower.js | 4 ++-- diplomacy/web/src/gui/wizards/gameCreation/panelChooseSettings.js | 4 ++-- 4 files changed, 9 insertions(+), 9 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 . // ============================================================================== 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 {
{this.props.username} - +
)) || ( @@ -44,7 +44,7 @@ export class Navigation extends React.Component { {(this.props.username && ( {this.props.username} - + )) || 'Menu'} diff --git a/diplomacy/web/src/gui/wizards/gameCreation/panelChoosePlayers.js b/diplomacy/web/src/gui/wizards/gameCreation/panelChoosePlayers.js index e86eb7d..d263f03 100644 --- a/diplomacy/web/src/gui/wizards/gameCreation/panelChoosePlayers.js +++ b/diplomacy/web/src/gui/wizards/gameCreation/panelChoosePlayers.js @@ -17,7 +17,7 @@ import React from "react"; import {FancyBox} from "../../components/fancyBox"; import PropTypes from "prop-types"; -import Octicon, {ArrowLeft} from "@primer/octicons-react"; +import {ArrowLeftIcon} from "@primer/octicons-react"; export class PanelChoosePlayers extends React.Component { render() { @@ -65,7 +65,7 @@ export class PanelChoosePlayers extends React.Component {
diff --git a/diplomacy/web/src/gui/wizards/gameCreation/panelChoosePower.js b/diplomacy/web/src/gui/wizards/gameCreation/panelChoosePower.js index 8258acd..b6cdc4e 100644 --- a/diplomacy/web/src/gui/wizards/gameCreation/panelChoosePower.js +++ b/diplomacy/web/src/gui/wizards/gameCreation/panelChoosePower.js @@ -17,7 +17,7 @@ import React from "react"; import {FancyBox} from "../../components/fancyBox"; import PropTypes from "prop-types"; -import Octicon, {ArrowLeft} from "@primer/octicons-react"; +import {ArrowLeftIcon} from "@primer/octicons-react"; export class PanelChoosePower extends React.Component { render() { @@ -67,7 +67,7 @@ export class PanelChoosePower extends React.Component {
diff --git a/diplomacy/web/src/gui/wizards/gameCreation/panelChooseSettings.js b/diplomacy/web/src/gui/wizards/gameCreation/panelChooseSettings.js index a34a1d1..2488427 100644 --- a/diplomacy/web/src/gui/wizards/gameCreation/panelChooseSettings.js +++ b/diplomacy/web/src/gui/wizards/gameCreation/panelChooseSettings.js @@ -18,7 +18,7 @@ import React from "react"; import {FancyBox} from "../../components/fancyBox"; import PropTypes from "prop-types"; import {UTILS} from "../../../diplomacy/utils/utils"; -import Octicon, {ArrowLeft} from "@primer/octicons-react"; +import {ArrowLeftIcon} from "@primer/octicons-react"; const DEADLINES = [ [0, '(no deadline)'], @@ -104,7 +104,7 @@ export class PanelChooseSettings extends React.Component {
-- cgit v1.2.3