decky-frontend-lib
Advanced tools
Comparing version 3.18.9 to 3.18.10
@@ -8,2 +8,4 @@ import { useEffect } from 'react'; | ||
useEffect(() => { | ||
setLoading(true); | ||
setError(false); | ||
const img = new Image(); | ||
@@ -17,3 +19,3 @@ img.src = props.src || ''; | ||
}); | ||
}, []); | ||
}, [props.src]); | ||
return loading ? (window.SP_REACT.createElement("div", { style: { | ||
@@ -20,0 +22,0 @@ width: props.suspenseWidth || props.style?.width, |
{ | ||
"name": "decky-frontend-lib", | ||
"version": "3.18.9", | ||
"version": "3.18.10", | ||
"description": "A library for building decky plugins", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
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
199602
4769