File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
apps/frontpage/components/home/hero Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import { motion } from 'framer-motion';
99import { useEffect , useRef , useState } from 'react' ;
1010import { ChevronLeftIcon , ChevronRightIcon } from '@storybook/icons' ;
1111import { Container } from '@repo/ui' ;
12+ import { latestVersion } from '@repo/utils' ;
1213import { Manager } from '../manager' ;
1314import { InitCommand } from './init-command' ;
1415import { Chrome } from './chrome' ;
@@ -122,7 +123,7 @@ export function Hero({
122123 className = "md:hidden"
123124 href = "https://github.com/storybookjs/storybook/releases"
124125 >
125- < div className = "text-md text-white" > v10 </ div >
126+ < div className = "text-md text-white" > v { latestVersion . id . split ( '.' ) [ 0 ] } </ div >
126127 < div className = "text-sm text-white/60" > Latest version</ div >
127128 </ a >
128129 < div >
You can’t perform that action at this time.
0 commit comments