Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/ContentSlack/ContentSlackPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default function ContentSlackPage() {
{isLoading && (
<>
<ChartSkeleton />
<TableSkeleton columns={["User", "Timestamp", "Prompt", "Video Links"]} />
<TableSkeleton columns={["User", "Timestamp", "Prompt", "Videos"]} />
</>
)}

Expand Down
6 changes: 3 additions & 3 deletions components/ContentSlack/contentSlackColumns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
return (
<div className="flex items-center gap-2">
{tag.user_avatar && (
<img

Check warning on line 15 in components/ContentSlack/contentSlackColumns.tsx

View workflow job for this annotation

GitHub Actions / ESLint

Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
src={tag.user_avatar}
alt={tag.user_name}
className="h-6 w-6 rounded-full"
Expand Down Expand Up @@ -48,7 +48,7 @@
id: "video_links",
accessorFn: (row) => row.video_links.length,
header: ({ column }) => (
<SortableHeader column={column} label="Video Links" />
<SortableHeader column={column} label="Videos" />
),
cell: ({ row }) => {
const links = row.original.video_links;
Expand All @@ -63,9 +63,9 @@
href={link}
target="_blank"
rel="noopener noreferrer"
className="text-sm text-blue-600 hover:underline dark:text-blue-400 truncate max-w-xs"
className="text-sm text-blue-600 hover:underline dark:text-blue-400"
>
{link}
Video {links.length > 1 ? i + 1 : ""}
</a>
))}
</div>
Expand Down
Loading