Skip to content

Commit

Permalink
Fix quickstart doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ThunbergOlle authored Apr 11, 2024
1 parent 653c168 commit 4df5e1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default function App() {

return (
<ScrollAnchorProvider {...methods}>
<Button onPress={scrollTo('books')} title="View books" />
<Button onPress={() => scrollTo('books')} title="View books" />
<ScrollView onScroll={onScroll} scrollEventThrottle={32} ref={scrollRef}>
<Anchor name="movies">
<MovieList />
Expand Down

0 comments on commit 4df5e1a

Please sign in to comment.