Skip to content

Commit

Permalink
Merge pull request #137 from sw-yx/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieudutour authored Jul 26, 2021
2 parents 5c391eb + 4ee6e1f commit 0b7c60e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-stacked-pages-hook/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const StackedLayout = ({ data, location, slug }) => {
// You can return `null` to filter out the page
const processPageQuery = useCallback((pageQuery) => pageQuery, []);

const [state, scrollContainer] = useStackedNotesProvider({
const [state, scrollContainer] = useStackedPagesProvider({
firstPage: { data, slug },
location,
processPageQuery,
Expand Down

0 comments on commit 0b7c60e

Please sign in to comment.