|
|
@@ -50,7 +50,7 @@ export default function Share(props: { api: string }) {
|
|
|
}>({
|
|
|
messages: {},
|
|
|
})
|
|
|
- const messages = createMemo(() => Object.values(store.messages).toSorted((a, b) => a.id.localeCompare(b.id)))
|
|
|
+ const messages = createMemo(() => Object.values(store.messages).toSorted((a, b) => a.id?.localeCompare(b.id)))
|
|
|
const [connectionStatus, setConnectionStatus] = createSignal<[Status, string?]>(["disconnected", "Disconnected"])
|
|
|
|
|
|
onMount(() => {
|