import { useSync } from "@tui/context/sync" import { createMemo, Show } from "solid-js" import { useTheme } from "../../context/theme" import { Installation } from "@/installation" import { TuiPluginRuntime } from "../../plugin" export function Sidebar(props: { sessionID: string; overlay?: boolean }) { const sync = useSync() const { theme } = useTheme() const session = createMemo(() => sync.session.get(props.sessionID)) return ( {session()!.title} {session()!.share!.url} • Open Code {" "} {Installation.VERSION} ) }