import { clientId, q } from "@thorium/context/AppContext"; import { useStation } from "@thorium/routes/station/useStation"; import Button from "@thorium/ui/Button"; import SearchableInput, { DefaultResultLabel } from "@thorium/ui/SearchableInput"; import { useState } from "react"; import { Label, TextArea } from "react-aria-components"; export function ComposePage() { const { shipId, station } = useStation(); const [addressBook] = q.longRangeComm.addressBook.useNetRequest({ shipId }); const [contactId, setContactId] = useState(-1); const [message, setMessage] = useState(""); return (
{result.name || result.entityName}