@ebrains/react 0.3.0-alpha.0 → 0.4.0-alpha.0

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.
@@ -267,7 +267,7 @@ function isMatomoAvailable() {
267
267
  }
268
268
  // General function to push data to Matomo
269
269
  function pushToMatomo(action, ...args) {
270
- console.log('Pushing Matomo');
270
+ //console.log('Pushing Matomo')
271
271
  if (isMatomoAvailable()) {
272
272
  window._paq.push([action, ...args]);
273
273
  } else {
@@ -279,7 +279,7 @@ function sendAnalytics(eventData) {
279
279
  var _a;
280
280
  if (!isMatomoAvailable()) {
281
281
  console.warn('Matomo is not available or not initialized.');
282
- console.log(Object.assign({}, eventData));
282
+ //console.log({ ...eventData });
283
283
  return;
284
284
  }
285
285
  // Conditionally build the name field