@performant-software/semantic-components 1.0.4-beta.7 → 1.0.4-beta.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@performant-software/semantic-components",
3
- "version": "1.0.4-beta.7",
3
+ "version": "1.0.4-beta.8",
4
4
  "description": "A package of shared components based on the Semantic UI Framework.",
5
5
  "license": "MIT",
6
6
  "main": "./build/index.js",
@@ -12,7 +12,7 @@
12
12
  "build": "webpack --mode production && flow-copy-source -v src types"
13
13
  },
14
14
  "dependencies": {
15
- "@performant-software/shared-components": "^1.0.4-beta.7",
15
+ "@performant-software/shared-components": "^1.0.4-beta.8",
16
16
  "@react-google-maps/api": "^2.8.1",
17
17
  "axios": "^0.26.1",
18
18
  "citeproc": "^2.4.62",
@@ -179,7 +179,7 @@ const FileUploadModal: ComponentType<any> = (props: Props) => {
179
179
  const item = items[i];
180
180
 
181
181
  // Update the status for the item
182
- setStatus(item, Status.processing);
182
+ setStatus(i, Status.processing);
183
183
 
184
184
  let error;
185
185
 
@@ -193,9 +193,9 @@ const FileUploadModal: ComponentType<any> = (props: Props) => {
193
193
 
194
194
  // Update the status for the item
195
195
  if (error) {
196
- setStatus(item, Status.error);
196
+ setStatus(i, Status.error);
197
197
  } else {
198
- setStatus(item, Status.complete);
198
+ setStatus(i, Status.complete);
199
199
  }
200
200
 
201
201
  // Update the upload count
@@ -179,7 +179,7 @@ const FileUploadModal: ComponentType<any> = (props: Props) => {
179
179
  const item = items[i];
180
180
 
181
181
  // Update the status for the item
182
- setStatus(item, Status.processing);
182
+ setStatus(i, Status.processing);
183
183
 
184
184
  let error;
185
185
 
@@ -193,9 +193,9 @@ const FileUploadModal: ComponentType<any> = (props: Props) => {
193
193
 
194
194
  // Update the status for the item
195
195
  if (error) {
196
- setStatus(item, Status.error);
196
+ setStatus(i, Status.error);
197
197
  } else {
198
- setStatus(item, Status.complete);
198
+ setStatus(i, Status.complete);
199
199
  }
200
200
 
201
201
  // Update the upload count