File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
app/[locale]/dashboard/[entityType]/[entitySlug]/dataset/[id]/edit/resources Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,11 @@ import { DistibutionPage } from './page-layout';
3131// }
3232// `);
3333
34- export default async function Page ( { params } : { params : { id : string } } ) {
34+ export default async function Page ( {
35+ params,
36+ } : {
37+ params : { entityType : string ; entitySlug : string ; id : string } ;
38+ } ) {
3539 const queryClient = getQueryClient ( ) ;
3640 // await queryClient.prefetchQuery([`dataset_distribution_${params.id}`], () =>
3741 // GraphQL(datasetDistributionQueryDoc, {
@@ -42,9 +46,9 @@ export default async function Page({ params }: { params: { id: string } }) {
4246
4347 return (
4448 // <Hydrate state={dehydratedState}>
45- < div className = { styles . EditPage } >
46- < DistibutionPage params = { params } />
47- </ div >
49+ < div className = { styles . EditPage } >
50+ < DistibutionPage params = { params } />
51+ </ div >
4852 // </Hydrate>
4953 ) ;
5054}
You can’t perform that action at this time.
0 commit comments