Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
lahcenbcf committed Jun 20, 2024
1 parent f39fafc commit dbd26f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Modal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ const Modal = ({ show, handleClose, message, codeTeam ,isError}) => {
<button className="close-button" onClick={handleClose}>X</button>
<h4 className={`font-bold text-primary ${isError && "text-red-600"}`}>{ !isError ? message : "Submission failed"}</h4>
{!isError ?
( (codeTeam &&codeTeam!="#") ? <h2>Your team code is: <strong>{codeTeam + " "} <span className="underline block font-thin text-red-500">share with your team members for their registrations!</span></strong></h2> :<h2>thanks, we will contact you soon !</h2> )
: <h2>we are sorry, please repeat !</h2>
( (codeTeam &&codeTeam!="#") ? <h3>Your team code is: <strong>{codeTeam + " "} <span className="underline block font-thin text-red-500">share with your team members for their registrations!</span></strong></h3> :<h3>thanks, we will contact you soon !</h3> )
: <h3>we are sorry, please repeat !</h3>
}
</div>
</div>
Expand Down

0 comments on commit dbd26f3

Please sign in to comment.