Skip to content

Instantly share code, notes, and snippets.

@amandeepmittal
Created December 6, 2018 13:28
Show Gist options
  • Save amandeepmittal/c54806b68ac02acf3f88c68eeefb3f56 to your computer and use it in GitHub Desktop.
Save amandeepmittal/c54806b68ac02acf3f88c68eeefb3f56 to your computer and use it in GitHub Desktop.
<button>
<Link href={`/?page=${page + 1}`}>
<a>Load More</a>
</Link>
</button>
<button>
<Link href={`/?page=${page - 1}`}>
<a>Previous</a>
</Link>
</button>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment