diff --git a/lib/ui/src/components/sidebar/RefIndicator.tsx b/lib/ui/src/components/sidebar/RefIndicator.tsx index fde629cba5b..b26ae686c24 100644 --- a/lib/ui/src/components/sidebar/RefIndicator.tsx +++ b/lib/ui/src/components/sidebar/RefIndicator.tsx @@ -104,7 +104,7 @@ const Version = styled.div({ const CurrentVersion: FunctionComponent = ({ url, versions }) => { const currentVersionId = useMemo(() => { const c = Object.entries(versions).find(([k, v]) => v === url); - return c && c[0] ? c[0] : 'version'; + return c && c[0] ? c[0] : 'current'; }, [url, versions]); return (