From bc9f9941bf64101d605a801b63a7ab35bedcdc20 Mon Sep 17 00:00:00 2001 From: gibbyb Date: Sat, 20 Jul 2024 15:12:21 -0500 Subject: [PATCH] More UI changes after I realized I actually made it worse --- src/components/auth/Sign_Out.tsx | 2 +- src/components/ui/Table.tsx | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/auth/Sign_Out.tsx b/src/components/auth/Sign_Out.tsx index 672cbb9..8e51fa8 100644 --- a/src/components/auth/Sign_Out.tsx +++ b/src/components/auth/Sign_Out.tsx @@ -10,7 +10,7 @@ export default async function Sign_Out() { // Add User profile picture next to Sign Out button const pfp = session?.user?.image ? session.user.image : "/images/default_user_pfp.png"; return ( -
{ "use server" await signOut() diff --git a/src/components/ui/Table.tsx b/src/components/ui/Table.tsx index fa6e6e9..8c515cc 100644 --- a/src/components/ui/Table.tsx +++ b/src/components/ui/Table.tsx @@ -121,8 +121,8 @@ export default function Table({ employees }: { employees: Employee[] }) { return (
- - +
+ {employeeData.map((employee) => ( - +