diff options
author | Jeff Heiges <jehe8729@colorado.edu> | 2025-03-11 08:53:29 +0000 |
---|---|---|
committer | Jeff Heiges <jehe8729@colorado.edu> | 2025-03-11 08:53:29 +0000 |
commit | 83bd29b4b416b31a99949de868434551dd560203 (patch) | |
tree | a02ea1fbe51d2c4112e73a4e8d879ca40582197d /diplomacy/web/src/gui/wizards/gameCreation | |
parent | 493dafadb112094974ea28e083fdf11dad906034 (diff) |
Fixed Octicon errors
Diffstat (limited to 'diplomacy/web/src/gui/wizards/gameCreation')
3 files changed, 6 insertions, 6 deletions
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 { <div className="col"> <button type="button" className="btn btn-secondary btn-sm px-3" onClick={() => this.props.backward()}> - <Octicon icon={ArrowLeft}/> + <ArrowLeftIcon/> </button> </div> </div> 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 { <div className="col"> <button type="button" className="btn btn-secondary btn-sm px-3" onClick={() => this.props.backward()}> - <Octicon icon={ArrowLeft}/> + <ArrowLeftIcon/> </button> </div> </div> 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 { <div className="col-sm"> <button type="button" className="btn btn-secondary btn-sm btn-block" onClick={() => this.props.backward()}> - <Octicon icon={ArrowLeft}/> + <ArrowLeftIcon/> </button> </div> <div className="col-sm"> |