@equinor/fusion
Advanced tools
Comparing version 0.1.23 to 0.1.24
@@ -39,7 +39,7 @@ import { useState, useCallback, useEffect } from "react"; | ||
const value = this.toObject(); | ||
return value !== null ? value.current : null; | ||
return value ? value.current : null; | ||
} | ||
getHistory() { | ||
const value = this.toObject(); | ||
return value !== null && value.history !== null ? value.history : []; | ||
return value && value.history ? value.history : []; | ||
} | ||
@@ -46,0 +46,0 @@ async getCurrentContextAsync() { |
{ | ||
"name": "@equinor/fusion", | ||
"version": "0.1.23", | ||
"version": "0.1.24", | ||
"description": "Everything a Fusion app needs to communicate with the core", | ||
@@ -5,0 +5,0 @@ "main": "lib/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
107664