hook-use-url
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -181,3 +181,3 @@ import {push, replace} from 'connected-react-router'; | ||
let values = url.arrayGet({variable}); | ||
if (values.includes(value) === false) { | ||
if (values.includes(value) === true) { | ||
values = values.filter((x) => x !== value); | ||
@@ -184,0 +184,0 @@ newVariables[variable] = values; |
{ | ||
"name": "hook-use-url", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "useUrl hook for easier URL reading & writing within ReactJS app", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
7804