Skip to content

Commit c3f108d

Browse files
committed
fix: Restore Create New Profile button to be always visible
1 parent d3c77e8 commit c3f108d

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

client/src/components/presentational/CheckInButtons.jsx

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,13 @@ const CheckInButtons = (props) => {
2323
>
2424
CHECK IN AS NEW USER
2525
</Button>
26-
{props.events.length > 1 && (
27-
<Button
28-
component={Link}
29-
to={`/newProfile`}
30-
variant="outlined"
31-
>
32-
CREATE A NEW PROFILE
33-
</Button>
34-
)}
26+
<Button
27+
component={Link}
28+
to={`/newProfile`}
29+
variant="outlined"
30+
>
31+
CREATE A NEW PROFILE
32+
</Button>
3533
</>
3634
);
3735
};

0 commit comments

Comments
 (0)