0
0
Fork 0

Infinite scroll for followers/following lists

This commit is contained in:
Eugen Rochko 2016-11-13 20:42:54 +01:00
parent 49b7896953
commit dbfe1e4be6
9 changed files with 219 additions and 68 deletions

View file

@ -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: {