export-data
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -56,5 +56,2 @@ "use strict"; | ||
} | ||
if (onClick) { | ||
yield onClick(e); | ||
} | ||
if (setsDataAsyncInOnClick) { | ||
@@ -64,2 +61,5 @@ e.preventDefault(); | ||
} | ||
if (onClick) { | ||
yield onClick(e); | ||
} | ||
}); | ||
@@ -66,0 +66,0 @@ const filenameWithExtension = filename.endsWith(`.${fileType.toLowerCase()}`) |
{ | ||
"name": "export-data", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Export data in React to CSV and other file formats", | ||
@@ -5,0 +5,0 @@ "types": "./lib/cjs/types/index.d.ts", |