diff --git a/.gitea b/.gitea index 9d32448..ea6732c 100644 --- a/.gitea +++ b/.gitea @@ -1 +1 @@ -@https://gitea.schwenk.online/froxxxy/bscscore/issues/1 \ No newline at end of file +@https://gitea.schwenk.online/froxxxy/bscscore/issues/8 \ No newline at end of file diff --git a/src/components/App.jsx b/src/components/App.jsx index 469e0bd..7437206 100644 --- a/src/components/App.jsx +++ b/src/components/App.jsx @@ -2,7 +2,7 @@ import { h } from 'preact'; import { useState, useEffect, useCallback } from 'preact/hooks'; import GameList from './GameList.jsx'; import GameDetail from './GameDetail.jsx'; -import { Player1Step, Player2Step } from './NewGame.jsx'; +import { Player1Step, Player2Step, Player3Step } from './NewGame.jsx'; import Modal from './Modal.jsx'; import ValidationModal from './ValidationModal.jsx'; import GameCompletionModal from './GameCompletionModal.jsx'; @@ -147,7 +147,6 @@ const App = () => { setNewGameData(data => ({ ...data, player2: name })); setNewGameStep('player3'); }; - // Placeholder handlers for further steps const handlePlayer3Next = (name) => { setNewGameData(data => ({ ...data, player3: name })); setNewGameStep('gameType'); @@ -207,10 +206,12 @@ const App = () => { /> )} {newGameStep === 'player3' && ( -