Browse Source

Fix preview typo (#388)

James McClean 7 years ago
parent
commit
d5cdd51556
1 changed files with 1 additions and 1 deletions
  1. 1 1
      website/src/docs/uppy.md

+ 1 - 1
website/src/docs/uppy.md

@@ -173,7 +173,7 @@ A shortcut method that returns a specific file object from `uppy.state` by its `
 ```js
 const file = uppy.getFile('uppyteamkongjpg1501851828779')
 const img = document.createElement('img')
-img.src = file.preivew
+img.src = file.preview
 document.body.appendChild(img)
 ```