@nuskin/ns-shop 7.2.1-mdigi-2049.1 → 7.2.1-mdigi-2049.2
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
|
@@ -204,7 +204,7 @@ let PickupUtil = function() {
|
|
|
204
204
|
// if the calling code knows that loadShipMethods has finished then this
|
|
205
205
|
// function can be called directly if the calling function is not async.
|
|
206
206
|
function getStoredShipMethods() {
|
|
207
|
-
return JSON.parse((sessionStorage.getItem(SHIP_METHODS) || []));
|
|
207
|
+
return JSON.parse((sessionStorage.getItem(SHIP_METHODS) || '[]'));
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
async function getShipMethods() {
|