File tree Expand file tree Collapse file tree 4 files changed +8376
-2209
lines changed Expand file tree Collapse file tree 4 files changed +8376
-2209
lines changed Original file line number Diff line number Diff line change 1212 "@htmldocs/render" : " workspace:0.2.25" ,
1313 "@react-email/components" : " 0.0.18" ,
1414 "clsx" : " ^2.1.1" ,
15+ "htmldocs" : " workspace:0.2.25" ,
1516 "markdown-it" : " ^14.1.0" ,
1617 "react" : " ^18.2.0" ,
1718 "react-dom" : " ^18.2.0" ,
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ import { Logo } from '../logo';
99import ThemeToggle from '../theme-toggle' ;
1010import { Button } from '../ui/button' ;
1111import { X } from '@phosphor-icons/react' ;
12+ import { VERSION } from '~/lib/version' ;
1213
13- const VERSION = '0.1.24' ;
1414const VERSION_CHECK_INTERVAL = 1000 * 60 * 60 * 24 ; // Check once per day
1515
1616const compareVersions = ( v1 : string , v2 : string ) : number => {
Original file line number Diff line number Diff line change 1+ import packageJson from '../../../package.json' ;
2+
3+ export const VERSION = packageJson . version ;
You can’t perform that action at this time.
0 commit comments