Skip to content

Commit

Permalink
Fix typo in the documentation (#827)
Browse files Browse the repository at this point in the history
* Fix typo in documentation

Before
```svx
{#if $userInfo.pageInfo.hasNextPage}
    <button on:click=={userInfo.loadNextPage}>
        load more
    </button>
{/if}
```

After:
```svx
{#if $userInfo.pageInfo.hasNextPage}
    <button on:click={userInfo.loadNextPage}>
        load more
    </button>
{/if}
```

* Fix typo in mutation example
  • Loading branch information
npupko authored Jan 18, 2023
1 parent 815be2f commit 30a754a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion site/src/routes/guides/pagination/+page.svx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ info can be looked up with the `pageInfo` field of store's value:
</script>

{#if $userInfo.pageInfo.hasNextPage}
<button on:click=={userInfo.loadNextPage}>
<button on:click={userInfo.loadNextPage}>
load more
</button>
{/if}
Expand Down
2 changes: 1 addition & 1 deletion site/src/routes/guides/uploading-files/+page.svx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ element and pass it to the mutation:

const UploadFile = graphql(`
mutation UploadFile($file: File!) {
uploadImage(file: File)
uploadImage(file: $file)
}
`)
</script>
Expand Down

2 comments on commit 30a754a

@vercel
Copy link

@vercel vercel bot commented on 30a754a Jan 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 30a754a Jan 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.