File tree Expand file tree Collapse file tree 3 files changed +13
-17
lines changed
final-example/app/dashboard Expand file tree Collapse file tree 3 files changed +13
-17
lines changed Original file line number Diff line number Diff line change @@ -6,14 +6,12 @@ export const metadata: Metadata = {
66 title : 'Customers' ,
77} ;
88
9- export default async function Page (
10- props : {
11- searchParams ?: Promise < {
12- query ?: string ;
13- page ?: string ;
14- } > ;
15- }
16- ) {
9+ export default async function Page ( props : {
10+ searchParams ?: Promise < {
11+ query ?: string ;
12+ page ?: string ;
13+ } > ;
14+ } ) {
1715 const searchParams = await props . searchParams ;
1816 const query = searchParams ?. query || '' ;
1917
Original file line number Diff line number Diff line change @@ -12,14 +12,12 @@ export const metadata: Metadata = {
1212 title : 'Invoices' ,
1313} ;
1414
15- export default async function Page (
16- props : {
17- searchParams ?: Promise < {
18- query ?: string ;
19- page ?: string ;
20- } > ;
21- }
22- ) {
15+ export default async function Page ( props : {
16+ searchParams ?: Promise < {
17+ query ?: string ;
18+ page ?: string ;
19+ } > ;
20+ } ) {
2321 const searchParams = await props . searchParams ;
2422 const query = searchParams ?. query || '' ;
2523 const currentPage = Number ( searchParams ?. page ) || 1 ;
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ export function RevenueChartSkeleton() {
3434 < div className = { `${ shimmer } relative w-full overflow-hidden md:col-span-4` } >
3535 < div className = "mb-4 h-8 w-36 rounded-md bg-gray-100" />
3636 < div className = "rounded-xl bg-gray-100 p-4" >
37- < div className = "mt-0 grid h-[410px] grid-cols-12 items-end gap-2 rounded-md bg-white p-4 sm:grid-cols-13 md:gap-4" />
37+ < div className = "sm:grid-cols-13 mt-0 grid h-[410px] grid-cols-12 items-end gap-2 rounded-md bg-white p-4 md:gap-4" />
3838 < div className = "flex items-center pb-2 pt-6" >
3939 < div className = "h-5 w-5 rounded-full bg-gray-200" />
4040 < div className = "ml-2 h-4 w-20 rounded-md bg-gray-200" />
You can’t perform that action at this time.
0 commit comments