Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lukevella committed Jan 13, 2024
1 parent 19f40c3 commit d4e7013
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions apps/web/src/app/[locale]/(admin)/polls/polls-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Button } from "@rallly/ui/button";
import { Tooltip, TooltipContent, TooltipTrigger } from "@rallly/ui/tooltip";
import { createColumnHelper, PaginationState } from "@tanstack/react-table";
import dayjs from "dayjs";
import { InboxIcon, PlusIcon, UsersIcon } from "lucide-react";
import { ArrowRightIcon, InboxIcon, PlusIcon, UsersIcon } from "lucide-react";
import Link from "next/link";
import { usePathname, useRouter, useSearchParams } from "next/navigation";
import React from "react";
Expand Down Expand Up @@ -100,12 +100,13 @@ export function PollsList() {
size: 5000,
cell: ({ row }) => {
return (
<div className="relative">
<Link className="group" href={`/poll/${row.original.id}`}>
<h3 className="font-semibold whitespace-nowrap mb-1 text-gray-600 group-hover:text-gray-900 group-hover:underline">
<div>
<Link className="group block" href={`/poll/${row.original.id}`}>
<h3 className="font-semibold inline-flex gap-x-2 items-center whitespace-nowrap mb-1 text-gray-600 group-hover:text-gray-900">
{row.original.title}
<ArrowRightIcon className="h-4 w-4 inline-block opacity-0 group-focus:translate-x-1 transition-all group-hover:opacity-100" />
</h3>
<div className="">
<div>
{row.original.event ? (
<p className="text-sm text-muted-foreground">
{row.original.event.duration === 0
Expand Down

0 comments on commit d4e7013

Please sign in to comment.