import { Key, useState } from "react"; import Dialog from "~/components/Dialog"; import Select from "~/components/Select"; import type { Machine, User } from "~/types"; import { getUserDisplayName } from "~/utils/user"; interface MoveProps { machine: Machine; users: User[]; isOpen: boolean; setIsOpen: (isOpen: boolean) => void; } export default function Move({ machine, users, isOpen, setIsOpen }: MoveProps) { const [userId, setUserId] = useState(machine.user?.id ?? null); return ( Change the owner of {machine.givenName} The owner of the machine is the user associated with it. ); }