@restart/hooks
Advanced tools
Comparing version 0.3.24 to 0.3.25
@@ -47,4 +47,4 @@ "use strict"; | ||
image = new Image(); | ||
if (crossOrigin) image.crossOrigin = crossOrigin; | ||
image.src = imageOrUrl; | ||
if (crossOrigin) image.crossOrigin = crossOrigin; | ||
} else { | ||
@@ -51,0 +51,0 @@ image = imageOrUrl; |
@@ -42,4 +42,4 @@ import { useState, useEffect } from 'react'; | ||
image = new Image(); | ||
if (crossOrigin) image.crossOrigin = crossOrigin; | ||
image.src = imageOrUrl; | ||
if (crossOrigin) image.crossOrigin = crossOrigin; | ||
} else { | ||
@@ -46,0 +46,0 @@ image = imageOrUrl; |
{ | ||
"name": "@restart/hooks", | ||
"version": "0.3.24", | ||
"version": "0.3.25", | ||
"main": "cjs/index.js", | ||
@@ -5,0 +5,0 @@ "types": "cjs/index.d.ts", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package