Skip to content

Commit

Permalink
Merge pull request #1629 from Spiteless/ts.login_buttons
Browse files Browse the repository at this point in the history
feat: Add disabled logic, update classnames for buttons
  • Loading branch information
trillium authored May 17, 2024
2 parents 4474bb6 + bd114b5 commit 617e52d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/src/components/presentational/CheckInButtons.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ const CheckInButtons = (props) => {
</Link>
<Link
to={`/checkIn/newUser?eventId=${props.event}`}
className={`home-button`}
className={`home-button ${props.disabled && "disabled"}`}
>
CHECK IN AS NEW USER
</Link>

{props.events.length > 1 && (
<Link to={`/newProfile`} className={`home-button-light`}>
...OR CREATE A NEW PROFILE
<Link to={`/newProfile`} className={`home-button`}>
CREATE A NEW PROFILE
</Link>
)}
</>
Expand Down

0 comments on commit 617e52d

Please sign in to comment.