@quillsql/react 1.0.0 → 1.0.1

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/Chart.tsx +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quillsql/react",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "access": "public",
5
5
  "description": "Quill React components for building dashboards and reporting.",
6
6
  "main": "lib/index.js",
package/src/Chart.tsx CHANGED
@@ -451,8 +451,8 @@ const ChartUpdater: React.FC<ChartProps> = ({
451
451
  id: chartId,
452
452
  orgId: customerId,
453
453
  publicKey: publicKey,
454
- startDate: startDate.toISOString(),
455
- endDate: endDate.toISOString(),
454
+ startDate: startDate && startDate.toISOString(),
455
+ endDate: endDate && endDate.toISOString(),
456
456
  },
457
457
  }
458
458
  );