code7-leia 0.2.8 → 0.2.11

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,5 +1,5 @@
1
1
  {
2
- "version": "0.2.8",
2
+ "version": "0.2.11",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -92,7 +92,8 @@ export const FileArea = () => {
92
92
  }
93
93
 
94
94
  const handleOpenModalDelete = (name: string) => {
95
- setFileDelete(name + '.pdf')
95
+ console.log('--- handleOpenModalDelete: ', name);
96
+ setFileDelete(name)
96
97
  setModalDelete(!modalDelete)
97
98
  }
98
99
 
@@ -108,6 +109,8 @@ export const FileArea = () => {
108
109
  }
109
110
 
110
111
  const deleteFile = () => {
112
+ console.log('--- vai deletar: ', fileDelete);
113
+
111
114
  dispatch(deleteFilesAction(fileDelete, id, language, token))
112
115
  setModalDelete(false)
113
116
  }