Merge pull request 'Fix error transitioning to the tentative status' (#83) from fix-transition-tentative-status into main
Reviewed-on: #83
This commit is contained in:
commit
2fc13fbfa3
@ -111,7 +111,7 @@ export default function guestsTable() {
|
||||
{(guest.status === 'Invited' || guest.status === 'Tentative') && (
|
||||
<>
|
||||
<button data-guest-id={guest.id} onClick={handleConfirmGuest} className={classNames('green')}>Confirm</button>
|
||||
{guest.status != 'Tentative' && <button data-guest-id={guest.id} onClick={handleDeclineGuest} className={classNames('yellow')}>Tentative</button>}
|
||||
{guest.status != 'Tentative' && <button data-guest-id={guest.id} onClick={handleTentativeGuest} className={classNames('yellow')}>Tentative</button>}
|
||||
<button data-guest-id={guest.id} onClick={handleDeclineGuest} className={classNames('red')}>Decline</button>
|
||||
</>
|
||||
)}
|
||||
|
Loading…
x
Reference in New Issue
Block a user