From 827a39e98ec1f74cf9b61452f2fbd538d065c1c7 Mon Sep 17 00:00:00 2001 From: nickbar01234 Date: Thu, 11 Apr 2024 01:14:10 -0400 Subject: [PATCH] Fix unused imports --- .../private/chapter-leader/users/[userId]/page.tsx | 1 - src/components/AddSenior.tsx | 13 ++----------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/src/app/private/chapter-leader/users/[userId]/page.tsx b/src/app/private/chapter-leader/users/[userId]/page.tsx index 8a995de1..25d6e4b4 100644 --- a/src/app/private/chapter-leader/users/[userId]/page.tsx +++ b/src/app/private/chapter-leader/users/[userId]/page.tsx @@ -1,7 +1,6 @@ import PathNav from "@components/PathNav"; import DisplayUserSenior from "@components/user/DisplayUserSeniors"; import { prisma } from "@server/db/client"; -import { getServerSessionOrRedirect } from "@server/utils"; import { fullName } from "@utils"; interface Params { diff --git a/src/components/AddSenior.tsx b/src/components/AddSenior.tsx index b3b076f0..d39b2603 100644 --- a/src/components/AddSenior.tsx +++ b/src/components/AddSenior.tsx @@ -44,13 +44,6 @@ const seniorFormSchema = seniorSchema.pick({ type SeniorData = z.infer; -const EMPTY_SENIOR: SeniorData = { - firstname: "", - lastname: "", - location: "", - description: "", -}; - export const AddSeniorTile = ({ showAddSeniorPopUp, setShowAddSeniorPopUp, @@ -290,8 +283,7 @@ const AddSenior = ({
- {" "} - Location{" "} + Location
- {" "} - Description{" "} + Description