BlueSky & more on desktop
lazurite.stormlightlabs.org/
tauri
rust
typescript
bluesky
appview
atproto
solid
1import { queueExplorerTarget } from "$/lib/explorer-navigation";
2import { useNavigate } from "@solidjs/router";
3import { DiagnosticsPanel } from "./DiagnosticsPanel";
4
5type DiagnosticsColumnProps = { did: string; onClose?: () => void };
6
7export function DiagnosticsColumn(props: DiagnosticsColumnProps) {
8 const navigate = useNavigate();
9
10 function handleOpenExplorerTarget(target: string) {
11 queueExplorerTarget(target);
12 void navigate("/explorer");
13 }
14
15 return (
16 <DiagnosticsPanel
17 did={props.did}
18 onClose={props.onClose ?? (() => void 0)}
19 onOpenExplorerTarget={handleOpenExplorerTarget} />
20 );
21}