Infinite scroll for followers/following lists
This commit is contained in:
parent
49b7896953
commit
dbfe1e4be6
9 changed files with 219 additions and 68 deletions
|
@ -1,4 +1,9 @@
|
|||
import axios from 'axios';
|
||||
import LinkHeader from 'http-link-header';
|
||||
|
||||
export const getLinks = response => {
|
||||
return LinkHeader.parse(response.headers.link);
|
||||
};
|
||||
|
||||
export default getState => axios.create({
|
||||
headers: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue