@mui/docs 6.4.4 → 7.0.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.
package/Ad/AdCarbon.js CHANGED
@@ -38,10 +38,6 @@ function AdCarbonImage() {
38
38
  //
39
39
  // To solve the issue, for example StrictModel double effect execution, we debounce the load action.
40
40
  const load = setTimeout(() => {
41
- // The DOM node could have unmounted at this point.
42
- if (!ref.current) {
43
- return;
44
- }
45
41
  const script = loadScript('https://cdn.carbonads.com/carbon.js?serve=CKYIL27L&placement=material-uicom', ref.current);
46
42
  script.id = '_carbonads_js';
47
43
  });