mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-06 09:59:00 +02:00
💄 Update poll page (#1672)
This commit is contained in:
parent
12651abd0c
commit
cf90e7a6df
9 changed files with 95 additions and 55 deletions
|
@ -14,11 +14,13 @@ export function PollListItem({
|
|||
status,
|
||||
participants,
|
||||
inviteLink,
|
||||
pollLink,
|
||||
}: {
|
||||
title: string;
|
||||
status: PollStatus;
|
||||
participants: { id: string; name: string; image?: string }[];
|
||||
inviteLink: string;
|
||||
pollLink: string;
|
||||
}) {
|
||||
return (
|
||||
<StackedListItem>
|
||||
|
@ -26,7 +28,7 @@ export function PollListItem({
|
|||
<PollStatusIcon status={status} showTooltip={false} />
|
||||
<Link
|
||||
className="focus:ring-ring min-w-0 text-sm font-medium hover:underline focus-visible:ring-2"
|
||||
href={inviteLink}
|
||||
href={pollLink}
|
||||
>
|
||||
<span className="absolute inset-0" />
|
||||
<span className="block truncate">{title}</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue