()
| 22 | }); |
| 23 | |
| 24 | function App() { |
| 25 | const apiUrl = process.env.REACT_APP_STAC_API; |
| 26 | const isDevelopment = process.env.NODE_ENV === 'development'; |
| 27 | |
| 28 | // Debug: Verify QueryClient configuration |
| 29 | if (isDevelopment && typeof window !== 'undefined') { |
| 30 | // eslint-disable-next-line no-console |
| 31 | console.log('[App] QueryClient defaults:', queryClient.getDefaultOptions()); |
| 32 | } |
| 33 | |
| 34 | return ( |
| 35 | <QueryClientProvider client={queryClient}> |
| 36 | <StacApiProvider apiUrl={apiUrl} enableDevTools={isDevelopment} queryClient={queryClient}> |
| 37 | <div className="App grid grid-rows-[min-content_1fr]"> |
| 38 | <Header /> |
| 39 | <main className="flex items-stretch"> |
| 40 | <Main /> |
| 41 | </main> |
| 42 | </div> |
| 43 | </StacApiProvider> |
| 44 | </QueryClientProvider> |
| 45 | ); |
| 46 | } |
| 47 | |
| 48 | export default App; |
nothing calls this directly
no outgoing calls
no test coverage detected