Browse Source

Use latin `c` character

These two places were using a different character that looks a lot like
`c` but is not quite `c`.
Renée Kooi 4 years ago
parent
commit
857c0a30f1
2 changed files with 2 additions and 2 deletions
  1. 1 1
      packages/@uppy/dashboard/src/index.js
  2. 1 1
      packages/@uppy/image-editor/src/index.js

+ 1 - 1
packages/@uppy/dashboard/src/index.js

@@ -246,7 +246,7 @@ module.exports = class Dashboard extends Plugin {
     const editors = this._getEditors(targets)
 
     return editors.some((target) => (
-      this.uppy.getPlugin(target.id).сanEditFile(file)
+      this.uppy.getPlugin(target.id).canEditFile(file)
     ))
   }
 

+ 1 - 1
packages/@uppy/image-editor/src/index.js

@@ -61,7 +61,7 @@ module.exports = class ImageEditor extends Plugin {
     this.setPluginState() // so that UI re-renders and we see the updated locale
   }
 
-  сanEditFile (file) {
+  canEditFile (file) {
     if (!file.type || file.isRemote) {
       return false
     }