docs: share page fix
Some checks are pending
deploy / deploy (push) Waiting to run

This commit is contained in:
Jay V 2025-08-11 12:51:19 -04:00
parent 10f3983f0b
commit 42329a038a

View file

@ -64,9 +64,9 @@ export default function Share(props: {
}>({ info: props.info, messages: mapValues(props.messages, (x: any) => ("metadata" in x ? fromV1(x) : x)) }) }>({ info: props.info, messages: mapValues(props.messages, (x: any) => ("metadata" in x ? fromV1(x) : x)) })
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"]) const [connectionStatus, setConnectionStatus] = createSignal<[Status, string?]>(["disconnected", "Disconnected"])
createEffect(() => { // createEffect(() => {
console.log(unwrap(store)) // console.log(unwrap(store))
}) // })
onMount(() => { onMount(() => {
const apiUrl = props.api const apiUrl = props.api