Skip to content

Commit

Permalink
1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hrasekj committed Nov 5, 2019
1 parent 2e75116 commit fe34b2c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion lib/router-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ var _generateUrl = require("./generate-url");

var _class, _descriptor, _temp;

function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }

function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
Expand Down Expand Up @@ -294,7 +296,7 @@ function () {
};
}

if (state !== null) {
if (state !== null && _typeof(state) !== 'object') {
state = false;
}

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "damidev-mobx-router",
"description": "MobX powered router for React apps",
"version": "1.1.0",
"version": "1.1.1",
"author": "Jakub Hrášek <[email protected]>",
"license": "MIT",
"bugs": {
Expand Down

0 comments on commit fe34b2c

Please sign in to comment.