editing button a bit
This commit is contained in:
parent
88f0972dff
commit
d4d9ec08eb
@ -88,9 +88,10 @@ export default function RSVPButton({ event }: RSVPButtonProps) {
|
|||||||
|
|
||||||
if (!tickets) {
|
if (!tickets) {
|
||||||
if (rsvpEvent) {
|
if (rsvpEvent) {
|
||||||
|
console.log("rsvp", rsvpEvent);
|
||||||
const rsvpResponse = getTagValues("l", rsvpEvent.tags);
|
const rsvpResponse = getTagValues("l", rsvpEvent.tags);
|
||||||
return (
|
return (
|
||||||
<div className="flex items-center">
|
<div className="flex items-center gap-2">
|
||||||
<Button disabled>
|
<Button disabled>
|
||||||
{rsvpResponse === "accepted"
|
{rsvpResponse === "accepted"
|
||||||
? "Going"
|
? "Going"
|
||||||
@ -102,10 +103,10 @@ export default function RSVPButton({ event }: RSVPButtonProps) {
|
|||||||
onClick={() =>
|
onClick={() =>
|
||||||
modal?.show(<RSVPModal eventReference={eventReference} />)
|
modal?.show(<RSVPModal eventReference={eventReference} />)
|
||||||
}
|
}
|
||||||
variant={"secondary"}
|
variant={"outline"}
|
||||||
size="icon"
|
size="icon"
|
||||||
>
|
>
|
||||||
<RiRepeatFill className="h-5 w-5" />
|
<RiRepeatFill className="h-4 w-4 text-muted-foreground" />
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user