Skip to content

Commit

Permalink
Fix with mux video example (#37434)
Browse files Browse the repository at this point in the history
* fix: On error upchunk dispatches an object

* chore: Typo on contribution guide, `unverfied`

* Update contributing.md

Co-authored-by: Lee Robinson <me@leerob.io>
Co-authored-by: JJ Kasper <jj@jjsweb.site>
  • Loading branch information
3 people committed Jun 11, 2022
1 parent 1463f0d commit 085ee96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ Issues are opened with one of these labels:
- `template: story` - a feature request, converted to an [💡 Ideas discussion](https://github.com/vercel/next.js/discussions/categories/ideas)
- `template: bug` - unverified issue with Next.js itself, or one of the examples in the [`examples`](https://github.com/vercel/next.js/tree/canary/examples) folder
- `template: documentation` - feedback for improvement or unverfied issue with the Next.js documentation
- `template: documentation` - feedback for improvement or an unverified issue with the Next.js documentation
In case of a bug report, a maintainer looks at the provided reproduction. If the reproduction is missing or insufficient, a `please add a complete reproduction` label is added. If a reproduction is not provided for more than 30 days, the issue becomes stale and will be automatically closed. If a reproduction is provided within 30 days, the `please add a complete reproduction` label is removed and the issue will not become stale anymore.
Expand Down
2 changes: 1 addition & 1 deletion examples/with-mux-video/components/upload-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const UploadForm = () => {
})

upload.on('error', (err) => {
setErrorMessage(err.detail)
setErrorMessage(err.detail.message)
})

upload.on('progress', (progress) => {
Expand Down

0 comments on commit 085ee96

Please sign in to comment.