/* eslint-disable @typescript-eslint/naming-convention */ /* eslint-disable unicorn/no-keyword-prefix */ import { Dialog } from '@headlessui/react' import { useFetcher } from '@remix-run/react' import clsx from 'clsx' 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 (

Tailnet Name

This is the base domain name of your Tailnet. Devices are accessible at {' '} [device].[user].{name} {' '} when Magic DNS is enabled.

{ event.target.select() }} /> { setIsOpen(false) }} >
) }