/* eslint-disable @typescript-eslint/naming-convention */ /* eslint-disable unicorn/no-keyword-prefix */ import { Dialog } from '@headlessui/react' import { useFetcher } from '@remix-run/react' import { useState } from 'react' type Properties = { readonly name: string; } export default function Modal({ name }: Properties) { const [isOpen, setIsOpen] = useState(false) const [newName, setNewName] = useState(name) const fetcher = useFetcher() return ( <> { setIsOpen(false) }} > ) }