fix lint errors

This commit is contained in:
Brandon Egger 2023-05-30 01:03:46 -05:00
parent dc479b2f77
commit 026e7917ed
2 changed files with 3 additions and 3 deletions

View File

@ -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 (
<div className="mx-4">
<h1 className="mb-2 border-b border-neutral-400">Links</h1>
@ -123,7 +123,7 @@ const ResourceForm = ({ resource }: { resource?: AuditoryResource }) => {
return (
<div className="mx-auto flex max-w-2xl flex-col flex-col-reverse divide-x py-4 sm:flex-row">
<div className="my-5 mr-4 flex flex-col justify-end text-lg font-bold">
<ResourceLinkSubForm resource={resource} />
<ResourceLinkSubForm /> {/** //resource={resource} /> */}
</div>
<div className="justify-left flex flex-col pb-5">
<ResourceSummarySubForm resource={resource} />

View File

@ -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