diff --git a/src/components/load-message-dialog.tsx b/src/components/load-message-dialog.tsx index c2ed542..00e0a5f 100644 --- a/src/components/load-message-dialog.tsx +++ b/src/components/load-message-dialog.tsx @@ -326,7 +326,9 @@ export function LoadMessageDialog({ {asUser ? 'You' : 'Bot'} - {m.ts} + + {new Date(Number(m.ts) * 1000).toLocaleString()} ({m.ts}) + {m.label && {m.label}} diff --git a/src/components/send-dialog.tsx b/src/components/send-dialog.tsx index aa46227..966aaff 100644 --- a/src/components/send-dialog.tsx +++ b/src/components/send-dialog.tsx @@ -158,29 +158,6 @@ export function SendDialog({
-
- - {channels === null && !channelsError &&

Loading channels…

} - {channelsError &&

{channelsError}

} - {channels && channels.length === 0 && ( -

No public channels available.

- )} - {channels && channels.length > 0 && ( - - )} -
-
setChannelId(e.target.value)} + className="flex h-9 w-full rounded-md border border-input bg-background px-3 py-1 text-sm shadow-sm focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring" + > + {channels.map((c) => ( + + ))} + + )} +
+ {errorCount > 0 ? ( ) : null}