Something went wrong. Try again.
opencode v2 mirror
Something went wrong. Try again.
12345678910111213141516171819202122import { useTheme } from "../context/theme"
export function PluginRouteMissing(props: { id: string; name: string; onHome: () => void }) { const theme = useTheme()
return ( <box width="100%" height="100%" alignItems="center" justifyContent="center" flexDirection="column" gap={1}> <text fg={theme.text.feedback.warning.base}> Unknown plugin route: {props.id}/{props.name} </text> <box onMouseUp={props.onHome} backgroundColor={theme.background.action.primary.hovered} paddingLeft={1} paddingRight={1} > <text fg={theme.text.action.primary.hovered}>go home</text> </box> </box> )}