Selaa lähdekoodia

Progress object is nested (#3262)

//cc @Murderlon
Artur Paikin 3 vuotta sitten
vanhempi
commit
b632e9d8d0
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      packages/@uppy/status-bar/src/Components.js

+ 2 - 1
packages/@uppy/status-bar/src/Components.js

@@ -192,7 +192,8 @@ function LoadingSpinner () {
 }
 
 function ProgressBarProcessing (props) {
-  const { value, mode, message } = props
+  const { progress } = props
+  const { value, mode, message } = progress
   const roundedValue = Math.round(value * 100)
   const dot = `\u00B7`