@hopara/react 0.3.109 → 0.4.2

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/README.md CHANGED
@@ -85,14 +85,6 @@ You can provide a Hopara Controller to manually trigger a data refresh (i.e. fet
85
85
  import {Hopara, HoparaController} from '@hopara/react'
86
86
  const customController = new HoparaController()
87
87
 
88
- ...
89
-
90
- setInterval(() => {
91
- customController.refresh()
92
- }, 3000)
93
-
94
- ...
95
-
96
88
  <div className="HoparaEmbedded">
97
89
  <Hopara
98
90
  visualizationId="your-visualization-id"
@@ -125,7 +117,7 @@ type DataLoader = {
125
117
  const dataLoaders = [{
126
118
  name: 'queryName',
127
119
  source: 'dataSourceName',
128
- loader: () => {
120
+ loader: async () => {
129
121
  return [
130
122
  {
131
123
  id: 1,