We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9159e22 commit c6035baCopy full SHA for c6035ba
src/hooks/stac-value.ts
@@ -75,7 +75,9 @@ export default function useStacValue({
75
enabled: enableStacGeoparquet && !!stacGeoparquetItemId,
76
});
77
const value = jsonResult.data || stacGeoparquetResult.data || undefined;
78
- const table = stacGeoparquetTableResult.data || undefined;
+ const table = enableStacGeoparquet
79
+ ? stacGeoparquetTableResult.data || undefined
80
+ : undefined;
81
const error =
82
jsonResult.error ||
83
stacGeoparquetResult.error ||
0 commit comments