mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-22 02:04:22 +01:00
moving share urls
This commit is contained in:
@@ -425,12 +425,14 @@ function ToolFooter(props: { time: number }) {
|
||||
}
|
||||
|
||||
export default function Share(props: {
|
||||
id: string
|
||||
api: string
|
||||
info: SessionInfo
|
||||
messages: Record<string, SessionMessage>
|
||||
}) {
|
||||
const id = props.id
|
||||
|
||||
let params = new URLSearchParams(document.location.search)
|
||||
const id = params.get("id")
|
||||
|
||||
const [store, setStore] = createStore<{
|
||||
info?: SessionInfo
|
||||
|
||||
Reference in New Issue
Block a user