Skip to content

Commit 5ac5882

Browse files
authored
Update docs/rtk-query/overview.md
1 parent 1cba239 commit 5ac5882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rtk-query/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ import { useGetPokemonByNameQuery } from './services/pokemon'
152152
export default function App() {
153153
// Using a query hook automatically fetches data and returns query values
154154
const { data, error, isLoading } = useGetPokemonByNameQuery('bulbasaur')
155-
// You can also perform with raw endpoints name and useQuery() API
155+
// Individual hooks are also accessible under the generated endpoints:
156156
// const { data, error, isLoading } = pokemonApi.endpoints.getPokemonByName.useQuery('bulbasaur')
157157

158158
// render UI based on data and loading state

0 commit comments

Comments
 (0)