Skip to content

Commit

Permalink
Fix unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbar01234 committed Apr 11, 2024
1 parent 54e012d commit 827a39e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
1 change: 0 additions & 1 deletion src/app/private/chapter-leader/users/[userId]/page.tsx
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
13 changes: 2 additions & 11 deletions src/components/AddSenior.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,6 @@ const seniorFormSchema = seniorSchema.pick({

type SeniorData = z.infer<typeof seniorFormSchema>;

const EMPTY_SENIOR: SeniorData = {
firstname: "",
lastname: "",
location: "",
description: "",
};

export const AddSeniorTile = ({
showAddSeniorPopUp,
setShowAddSeniorPopUp,
Expand Down Expand Up @@ -290,8 +283,7 @@ const AddSenior = ({
</div>

<div className="mb-2 h-5 w-full text-base text-white">
{" "}
Location{" "}
Location
</div>
<input
className="mb-3 h-9 w-full rounded-md border-2 border-solid border-tan px-3 text-sm text-dark-teal placeholder:text-dark-teal"
Expand All @@ -302,8 +294,7 @@ const AddSenior = ({
/>

<div className="mb-5 h-2 w-full text-base text-white">
{" "}
Description{" "}
Description
</div>
<textarea
className="h-25 mb-3 min-h-[20px] w-full resize-none rounded-md border-2 border-solid border-tan bg-white p-[10px] text-start text-sm text-dark-teal placeholder:text-dark-teal"
Expand Down

0 comments on commit 827a39e

Please sign in to comment.