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