@micromag/viewer 0.3.483 → 0.3.484

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/es/index.js CHANGED
@@ -3327,8 +3327,8 @@ var ViewerContainer = function ViewerContainer(_ref) {
3327
3327
  memoryRouterSearchHook = _useMemoryRouter.searchHook;
3328
3328
  return withoutRouter ? content : /*#__PURE__*/React.createElement(Router, {
3329
3329
  base: !memoryRouter ? basePath : null,
3330
- hook: !memoryRouter ? memoryRouterHook : null,
3331
- searchHook: !memoryRouter ? memoryRouterSearchHook : null
3330
+ hook: memoryRouter ? memoryRouterHook : null,
3331
+ searchHook: memoryRouter ? memoryRouterSearchHook : null
3332
3332
  }, /*#__PURE__*/React.createElement(RoutesProvider, {
3333
3333
  routes: routes
3334
3334
  }, content));
package/lib/index.js CHANGED
@@ -3869,8 +3869,8 @@ var ViewerContainer = function ViewerContainer(_ref) {
3869
3869
  memoryRouterSearchHook = _useMemoryRouter.searchHook;
3870
3870
  return withoutRouter ? content : /*#__PURE__*/React.createElement(Router, {
3871
3871
  base: !memoryRouter ? basePath : null,
3872
- hook: !memoryRouter ? memoryRouterHook : null,
3873
- searchHook: !memoryRouter ? memoryRouterSearchHook : null
3872
+ hook: memoryRouter ? memoryRouterHook : null,
3873
+ searchHook: memoryRouter ? memoryRouterSearchHook : null
3874
3874
  }, /*#__PURE__*/React.createElement(RoutesProvider, {
3875
3875
  routes: routes
3876
3876
  }, content));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/viewer",
3
- "version": "0.3.483",
3
+ "version": "0.3.484",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -90,5 +90,5 @@
90
90
  "access": "public",
91
91
  "registry": "https://registry.npmjs.org/"
92
92
  },
93
- "gitHead": "f1e3383c20068b9221a2b7c0a5c1ebf75edefb34"
93
+ "gitHead": "953f2e9c26ef79a5903c7255197a390cfb7464e9"
94
94
  }