From ef8fb9c7f34c937850d2ba3b2d51501e58616971 Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Sun, 11 Aug 2024 19:44:05 +0200 Subject: [PATCH] Add caption to the table --- app/dashboard/guests/page.tsx | 1 - app/ui/guests/table.tsx | 7 ++++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/dashboard/guests/page.tsx b/app/dashboard/guests/page.tsx index 36698c1..f829606 100644 --- a/app/dashboard/guests/page.tsx +++ b/app/dashboard/guests/page.tsx @@ -9,7 +9,6 @@ import React, { useState, useEffect } from 'react'; export default function Page() { return (
-

Groups

Guests

diff --git a/app/ui/guests/table.tsx b/app/ui/guests/table.tsx index 4b0ef60..7cc49d5 100644 --- a/app/ui/guests/table.tsx +++ b/app/ui/guests/table.tsx @@ -29,8 +29,13 @@ export default function guestsTable() { return (
-

There are {guests.length} guests in the list

+
+ Guests +

+ There are {guests.length} guests in the list +

+