Comparing version 0.5.16 to 0.5.17
@@ -311,3 +311,4 @@ "use strict"; | ||
if (fn) { | ||
context_unsubs = context_unsubs.filter((i) => i !== fn); | ||
if (context_unsubs) | ||
context_unsubs = context_unsubs.filter((i) => i !== fn); | ||
return fn; | ||
@@ -314,0 +315,0 @@ } |
{ | ||
"name": "realar", | ||
"version": "0.5.16", | ||
"version": "0.5.17", | ||
"description": "React state manager", | ||
@@ -88,3 +88,3 @@ "repository": { | ||
}, | ||
"gitHead": "1dad41014509b85c278dcb7c388de2abd5d3d598" | ||
"gitHead": "ccc4d8789050a41c4ebe31a8b3aaaf9c6433119d" | ||
} |
@@ -433,3 +433,4 @@ import React, { Context, FC } from 'react'; | ||
if (fn) { | ||
context_unsubs = context_unsubs.filter((i: any) => i !== fn); | ||
if (context_unsubs) | ||
context_unsubs = context_unsubs.filter((i: any) => i !== fn); | ||
return fn; | ||
@@ -436,0 +437,0 @@ } |
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
66075
1124