Execute oxfmt (#1166)

Ran
pnpm oxfmt .

This should get the web repo aligned so that we can better enforce oxfmt going forward.
This commit is contained in:
Austin
2026-06-16 20:30:08 -04:00
committed by GitHub
parent c5690d1edb
commit d2cb51d489
378 changed files with 5548 additions and 1974 deletions
+10 -2
View File
@@ -1,4 +1,9 @@
import type { ConversationKey, Message, SendTextError, SendTextInput } from "@meshtastic/sdk";
import type {
ConversationKey,
Message,
SendTextError,
SendTextInput,
} from "@meshtastic/sdk";
import type { ResultType } from "better-result";
import { useCallback, useMemo } from "react";
import { useClient } from "../adapters/useClient.ts";
@@ -20,7 +25,10 @@ export function useDirectChat(peer: number): UseDirectChatResult {
const client = useClient();
const sig = useMemo(() => client.chat.direct(peer), [client, peer]);
const messages = useSignal(sig);
const send = useCallback((input: SendTextInput) => client.chat.send(input), [client]);
const send = useCallback(
(input: SendTextInput) => client.chat.send(input),
[client],
);
const loadOlder = useCallback(
(before: Date, limit?: number) => {
const conv: ConversationKey = { kind: "direct", peer };