@micromag/core 0.3.181 → 0.3.182

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/es/hooks.js CHANGED
@@ -1470,8 +1470,7 @@ function useMediaLoad(element) {
1470
1470
  var firstShouldLoadRef = useRef(shouldLoad);
1471
1471
  var hasLoadedRef = useRef(preload !== 'none' && preload !== 'metadata' && shouldLoad);
1472
1472
  useEffect(function () {
1473
- var canLoad = preload !== 'none' && preload !== 'metadata' && shouldLoad; // @todo
1474
-
1473
+ var canLoad = preload !== 'none' && preload !== 'metadata' && shouldLoad;
1475
1474
  var preloadHasChanged = firstPreloadRef.current !== preload;
1476
1475
  var shouldLoadHasChanged = firstShouldLoadRef.current !== shouldLoad;
1477
1476
 
package/es/utils.js CHANGED
@@ -23,8 +23,8 @@ var convertStyleToString = function convertStyleToString(style) {
23
23
  };
24
24
 
25
25
  /*! clipboard-copy. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
26
- // @todo vendoring this: https://github.com/feross/clipboard-copy/blob/master/index.js
27
- // we might want to add that to the npm deps and just use it?
26
+ // @note vendoring this: https://github.com/feross/clipboard-copy/blob/master/index.js
27
+ // we might want to add that to the npm deps and just use it
28
28
  function makeError() {
29
29
  return new DOMException('The request is not allowed', 'NotAllowedError');
30
30
  }