thaddeus 1.0.18 → 1.0.26
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/package.json
CHANGED
|
@@ -33,6 +33,9 @@ export function SandboxViolationExpandedView() {
|
|
|
33
33
|
if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
|
|
34
34
|
t1 = () => {
|
|
35
35
|
const store = SandboxManager.getSandboxViolationStore();
|
|
36
|
+
if (!store || typeof store.subscribe !== 'function') {
|
|
37
|
+
return () => {};
|
|
38
|
+
}
|
|
36
39
|
const unsubscribe = store.subscribe(allViolations => {
|
|
37
40
|
setViolations(allViolations.slice(-10));
|
|
38
41
|
setTotalCount(store.getTotalCount());
|
package/thaddeus.command
CHANGED