mirror of
https://github.com/myfatemi04/wheelshare-frontend.git
synced 2025-04-21 19:29:51 -04:00
make 'need ride there' buttons responsive to availability selection
This commit is contained in:
parent
f24f7b6572
commit
0758b36479
|
@ -117,6 +117,8 @@ export default function Event({
|
|||
<GroupName name={group} />
|
||||
<Details {...{ startTime, endTime, formattedAddress }} />
|
||||
<Availability selected={availability} onSelected={setAvailability} />
|
||||
{availability === 'interested' && (
|
||||
<>
|
||||
<div
|
||||
style={{
|
||||
display: 'flex',
|
||||
|
@ -211,6 +213,8 @@ export default function Event({
|
|||
{confirmed ? 'Confirmed' : 'Confirm'}
|
||||
</UIButton>
|
||||
)}
|
||||
</>
|
||||
)}
|
||||
</UISecondaryBox>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user