Skip to content

Commit

Permalink
Remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
jotjern committed Nov 10, 2023
1 parent 10cc495 commit 384e87e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/events/components/Attendance/AttendButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const AttendButton: FC<IAttendButtonProps> = (props: IAttendButtonProps) => {
<Button
color={isEventFull ? 'secondary' : 'success'}
onClick={() => {
if (props.cannotUnattend || true) {
if (props.cannotUnattend) {
setShowConfirmModal(true);
} else {
toggleModal();
Expand Down

0 comments on commit 384e87e

Please sign in to comment.