From 026e7917ed6de98e726bde29ae3a15de7a667fd5 Mon Sep 17 00:00:00 2001 From: Brandon Egger Date: Tue, 30 May 2023 01:03:46 -0500 Subject: [PATCH] fix lint errors --- src/components/admin/resources/form.tsx | 4 ++-- src/pages/resources/index.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/admin/resources/form.tsx b/src/components/admin/resources/form.tsx index df75979..ba1f2f2 100644 --- a/src/components/admin/resources/form.tsx +++ b/src/components/admin/resources/form.tsx @@ -40,7 +40,7 @@ const SelectImageInput = ({ file }: { file?: string }) => { * Contains the input fields for editing the links for a resource * @returns */ -const ResourceLinkSubForm = ({ resource }: { resource?: AuditoryResource }) => { +const ResourceLinkSubForm = ({}) => { return (

Links

@@ -123,7 +123,7 @@ const ResourceForm = ({ resource }: { resource?: AuditoryResource }) => { return (
- + {/** //resource={resource} /> */}
diff --git a/src/pages/resources/index.tsx b/src/pages/resources/index.tsx index 8a87dfa..d19525a 100644 --- a/src/pages/resources/index.tsx +++ b/src/pages/resources/index.tsx @@ -7,7 +7,7 @@ import { api } from "~/utils/api"; import { parseQueryData } from "~/utils/parseSearchForm"; import Footer from "~/components/Footer"; import Header from "~/components/Header"; -import { type Dispatch, type SetStateAction, useEffect, useState, FormEvent } from "react"; +import { type Dispatch, type SetStateAction, useEffect, useState } from "react"; /** * Quick extension of the resource table designed to query all elements so they can be printed