@bity/preact-conversion-components
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -10,2 +10,3 @@ import { h } from 'preact'; | ||
function ExchangeRate({ | ||
defaultOrder, | ||
currenciesData, | ||
@@ -15,3 +16,9 @@ orderData, | ||
}) { | ||
let order; | ||
if (!currenciesData || !orderData) { | ||
order = defaultOrder; | ||
} | ||
if (!order) { | ||
return null; | ||
@@ -37,3 +44,3 @@ } | ||
} | ||
} = orderData; | ||
} = order; | ||
@@ -40,0 +47,0 @@ if (!amountToSend || !amountToReceive) { |
{ | ||
"name": "@bity/preact-conversion-components", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -240,3 +240,3 @@ import { h, Component } from 'preact'; | ||
}); | ||
}, 1000); | ||
}, 500); | ||
} | ||
@@ -265,3 +265,3 @@ | ||
}); | ||
}, 1000); | ||
}, 500); | ||
} | ||
@@ -268,0 +268,0 @@ |
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
39170
1250