GHHG10/CodeServer / opencode /packages /tui /src /component /plugin-route-missing.tsx
GHHG10's picture
download
raw
538 Bytes
import { useTheme } from "../context/theme"
export function PluginRouteMissing(props: { id: string; onHome: () => void }) {
const { theme } = useTheme()
return (
<box width="100%" height="100%" alignItems="center" justifyContent="center" flexDirection="column" gap={1}>
<text fg={theme.warning}>Unknown plugin route: {props.id}</text>
<box onMouseUp={props.onHome} backgroundColor={theme.backgroundElement} paddingLeft={1} paddingRight={1}>
<text fg={theme.text}>go home</text>
</box>
</box>
)
}

Xet Storage Details

Size:
538 Bytes
·
Xet hash:
a1e3863fa7da227f3a8a3c0eaf684c66015232bb879350c3f80d7194a4470dcf

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.