(props: { pokemon?: string })
| 28 | const MAX_POKEMONS = 100 |
| 29 | |
| 30 | export const SolidApp = (props: { pokemon?: string }) => { |
| 31 | const client = new QueryClient() |
| 32 | |
| 33 | const search = getSearchParams(props.pokemon || '') |
| 34 | |
| 35 | return ( |
| 36 | <QueryClientProvider client={client}> |
| 37 | <SolidQueryDevtools /> |
| 38 | <Suspense fallback={'Loading'}> |
| 39 | <PokemonIdContext.Provider value={search}> |
| 40 | <App /> |
| 41 | </PokemonIdContext.Provider> |
| 42 | </Suspense> |
| 43 | </QueryClientProvider> |
| 44 | ) |
| 45 | } |
| 46 | |
| 47 | const App = () => { |
| 48 | return ( |
nothing calls this directly
no test coverage detected