@plurid/plurid-ui-components-react 0.0.0-14 → 0.0.0-15

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.
@@ -2640,9 +2640,7 @@ const Notification = properties => {
2640
2640
  React.useEffect((() => {
2641
2641
  if (timeout) {
2642
2642
  notificationTimeout.current = setTimeout((() => {
2643
- remove({
2644
- id: id
2645
- });
2643
+ remove(id);
2646
2644
  }), timeout);
2647
2645
  }
2648
2646
  return () => {
@@ -2671,9 +2669,7 @@ const Notification = properties => {
2671
2669
  style: Object.assign({}, style),
2672
2670
  className: className
2673
2671
  }, content, React__default["default"].createElement(StyledNotificationClose, null, React__default["default"].createElement(pluridIconsReact.PluridIconDelete, {
2674
- atClick: () => remove({
2675
- id: id
2676
- })
2672
+ atClick: () => remove(id)
2677
2673
  })));
2678
2674
  };
2679
2675