Skip to content

Commit

Permalink
Fixed icon urls for chess icons
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammetssen authored May 20, 2022
1 parent dbf5aad commit 0f4e0b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions practice-app/client/pages/chess/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,21 +79,21 @@ export default function Chess() {
onClick={() => setColor("black")}
disabled={color === "black"}
>
<img src="/bK.svg" width="50px" height="50px" />
<img src="https://lichess1.org/assets/_vvLrNQ/piece/cburnett/bK.svg" width="50px" height="50px" />
</Button>
<Button
variant="outlined"
onClick={() => setColor("random")}
disabled={color === "random"}
>
<img src="/wbk.svg" width="75px" height="75px" />
<img src="https://lichess1.org/assets/_vvLrNQ/images/wbK.svg" width="75px" height="75px" />
</Button>
<Button
variant="outlined"
onClick={() => setColor("white")}
disabled={color === "white"}
>
<img src="/wk.svg" width="50px" height="50px" />
<img src="https://lichess1.org/assets/_vvLrNQ/piece/cburnett/wK.svg" width="50px" height="50px" />
</Button>
</Stack>
<MyButton onClick={startGame}>Play vs AI</MyButton>
Expand Down

0 comments on commit 0f4e0b2

Please sign in to comment.