/* 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' import Button from '~/components/Button' import Code from '~/components/Code' import Input from '~/components/Input' 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 (
This is the base domain name of your Tailnet.
Devices are accessible at
{' '}
[device].[user].{name}
{' '}
when Magic DNS is enabled.