@@ -111,10 +111,10 @@ function AiidaExplorerInner({
111111 queryFn : ( ) => fetchDownloadFormats ( restApiUrl ) ,
112112 } ) ;
113113
114- queryClient . prefetchQuery ( {
115- queryKey : [ "nodeFullTypes" ] ,
116- queryFn : ( ) => fetchAPIFullTypes ( restApiUrl ) ,
117- } ) ;
114+ // queryClient.prefetchQuery({
115+ // queryKey: ["nodeFullTypes"],
116+ // queryFn: () => fetchAPIFullTypes(restApiUrl),
117+ // });
118118 } , [ queryClient , restApiUrl ] ) ;
119119
120120 // --- Access cached data with useQuery ---
@@ -132,12 +132,12 @@ function AiidaExplorerInner({
132132 cacheTime : Infinity ,
133133 } ) ;
134134
135- const { data : fullTypes } = useQuery ( {
136- queryKey : [ "nodeFullTypes" ] ,
137- queryFn : ( ) => fetchAPIFullTypes ( restApiUrl ) ,
138- staleTime : Infinity ,
139- cacheTime : Infinity ,
140- } ) ;
135+ // const { data: fullTypes } = useQuery({
136+ // queryKey: ["nodeFullTypes"],
137+ // queryFn: () => fetchAPIFullTypes(restApiUrl),
138+ // staleTime: Infinity,
139+ // cacheTime: Infinity,
140+ // });
141141
142142 const [ nodes , setNodes ] = useState ( [ ] ) ;
143143 const [ edges , setEdges ] = useState ( [ ] ) ;
0 commit comments