Skip to content

Commit 6562f85

Browse files
committed
updated README
1 parent 3f5d9ca commit 6562f85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export const getPage = createPromiseAction({
150150
});
151151
```
152152
If there is more than one parameter, just make it into an object, like:
153-
```
153+
```javascript
154154
function getPage({username, n}) {
155155
return axios.get(`/page/${username}/${n}`);
156156
}

0 commit comments

Comments
 (0)