diff --git a/src/components/ResourceTable.tsx b/src/components/ResourceTable.tsx index 444a50c..d2575f0 100644 --- a/src/components/ResourceTable.tsx +++ b/src/components/ResourceTable.tsx @@ -49,7 +49,7 @@ export const ResourceInfo = ({ more info @@ -61,7 +61,7 @@ export const ResourceInfo = ({ )} diff --git a/src/components/admin/common.tsx b/src/components/admin/common.tsx index 71beaa8..147bda3 100644 --- a/src/components/admin/common.tsx +++ b/src/components/admin/common.tsx @@ -1,6 +1,6 @@ import { ExclamationCircleIcon } from "@heroicons/react/24/solid"; import Link from "next/link"; -import { useEffect, useState } from "react"; +import { type ButtonHTMLAttributes, useEffect, useState } from "react"; const AdminActionBody = ({ label, @@ -49,7 +49,7 @@ const AdminActionConfirmButton = ({ label: string; onConfirm?: () => void; symbol: JSX.Element | undefined; - type?: HTMLButtonElement["type"]; + type?: ButtonHTMLAttributes["type"]; }) => { const [isConfirmView, setConfirmView] = useState(false); @@ -96,7 +96,7 @@ const AdminActionButton = ({ label: string; onClick?: () => void; symbol: JSX.Element | undefined; - type?: HTMLButtonElement["type"]; + type?: ButtonHTMLAttributes["type"]; }) => { return (