mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-21 17:54:23 +01:00
docs: share page fix
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user