Skip to content

Commit 45ed5ff

Browse files
committed
docs: fix typo
1 parent 2eba868 commit 45ed5ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ You can write a simple wrapper for simplicity:
152152
import { graphql } from 'react-apollo';
153153
import { graphqlLodash } from 'graphql-lodash';
154154

155-
export function qqlLodash(rawQuery, config) {
155+
export function gqlLodash(rawQuery, config) {
156156
const {query, transform} = graphqlLodash(rawQuery);
157157
let origProps = (config && config.props) || ((props) => props);
158158

@@ -165,10 +165,10 @@ export function qqlLodash(rawQuery, config) {
165165
})(comp);
166166
}
167167
// then use as bellow
168-
export default qqlLodash(query)(Component);
168+
export default gqlLodash(query)(Component);
169169
```
170170
171-
Just replace `graphql` with `qqlLodash` and you are ready to use lodash in your queries.
171+
Just replace `graphql` with `gqlLodash` and you are ready to use lodash in your queries.
172172
173173
## Usage on server side
174174

0 commit comments

Comments
 (0)