File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242 "@babel/runtime" : " ^7.24.7" ,
4343 "@networkteam/zebra" : " ^1.0.0" ,
4444 "@types/node" : " ^20.14.9" ,
45- "@types/react" : " ^18.3.3 " ,
46- "@types/react-dom" : " ^18.3 .0" ,
45+ "@types/react" : " ^19.0.0 " ,
46+ "@types/react-dom" : " ^19.0 .0" ,
4747 "@typescript-eslint/eslint-plugin" : " ^7.14.1" ,
4848 "@typescript-eslint/parser" : " ^7.14.1" ,
4949 "eslint" : " ^9.5.0" ,
5050 "eslint-config-prettier" : " ^9.1.0" ,
5151 "eslint-plugin-prettier" : " ^5.1.3" ,
5252 "eslint-plugin-simple-import-sort" : " ^12.1.0" ,
53- "next" : " ^14.2.4 " ,
53+ "next" : " ^15.3.0 " ,
5454 "prettier" : " ^3.3.2" ,
55- "react" : " ^18.3.1 " ,
56- "react-dom" : " ^18.3.1 " ,
55+ "react" : " ^19.0.0 " ,
56+ "react-dom" : " ^19.0.0 " ,
5757 "tailwindcss" : " ^3.4.4" ,
5858 "typescript" : " ^5.5.2"
5959 },
6060 "peerDependencies" : {
61- "next" : " ^14 .2.4 " ,
62- "react" : " ^18.3.1 " ,
63- "react-dom" : " ^18.3.1 "
61+ "next" : " ^15 .2.3 " ,
62+ "react" : " ^19.0.0 " ,
63+ "react-dom" : " ^19.0.0 "
6464 },
6565 "files" : [
6666 " src" ,
Original file line number Diff line number Diff line change @@ -6,14 +6,15 @@ import './styles.css';
66import { notFound } from 'next/navigation' ;
77
88type StyleguidePageProps = {
9- params : {
9+ params : Promise < {
1010 slug ?: string | string [ ] ;
11- } ;
11+ } > ;
1212} ;
1313
1414const Route =
1515 ( content : StyleguideContent , path : string = '/styleguide' ) =>
16- ( { params : { slug } } : StyleguidePageProps ) => {
16+ async ( props : StyleguidePageProps ) => {
17+ const { slug } = await props . params ;
1718 if ( ! process . env . ENABLE_STYLEGUIDE ) {
1819 return notFound ( ) ;
1920 }
You can’t perform that action at this time.
0 commit comments