File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
app/[locale]/dashboard/organization/[organizationId]/dataset/[id]/edit/components Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ import { EditDistribution } from './EditDistribution';
2929import { EditResource } from './EditResource' ;
3030import { ResourceListView } from './ResourceListView' ;
3131
32- export const getReourceDoc = graphql ( `
32+ export const getReourceDoc : any = graphql ( `
3333 query getResources($filters: DatasetFilter) {
3434 datasets(filters: $filters) {
3535 resources {
@@ -74,7 +74,11 @@ export function DistributionList({
7474} ) {
7575 const params = useParams ( ) ;
7676
77- const { data, isLoading, refetch } = useQuery (
77+ const {
78+ data,
79+ isLoading,
80+ refetch,
81+ } : { data : any ; isLoading : boolean ; refetch : any } = useQuery (
7882 [ `fetch_resources_${ params . id } ` ] ,
7983 ( ) => GraphQL ( getReourceDoc , { filters : { id : params . id } } ) ,
8084 {
You can’t perform that action at this time.
0 commit comments