Skip to content
Snippets Groups Projects
Commit 7ddb8ab1 authored by HOLZINGER Ulysse's avatar HOLZINGER Ulysse
Browse files

Correction erreurs de compilations

parent 13167a78
Branches
No related tags found
No related merge requests found
import React, { useEffect, useState } from 'react'; import React, { useState } from 'react';
import Board from './components/Board'; import Board from './components/Board';
import './styles.scss'; import './styles.scss';
import confettis from './assets/confetti-4.gif' import confettis from './assets/confetti-4.gif'
......
...@@ -7,7 +7,7 @@ const Cell = ({ value, onClick }) => { ...@@ -7,7 +7,7 @@ const Cell = ({ value, onClick }) => {
return ( return (
<div className="cell" onClick={onClick} data-testid="cell"> <div className="cell" onClick={onClick} data-testid="cell">
{ {
value !==0 && <img className='jeton' src={value===1 ? player1 : player2} /> value !==0 && <img className='jeton' alt='jeton' src={value===1 ? player1 : player2} />
} }
</div> </div>
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment