@blocklet/launcher-layout 2.1.89 → 2.1.90

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.
Files changed (2) hide show
  1. package/lib/index.js +2 -1
  2. package/package.json +4 -4
package/lib/index.js CHANGED
@@ -52,7 +52,7 @@ const theme = (0, _Theme.create)({
52
52
  });
53
53
  function Layout(_ref) {
54
54
  let {
55
- blockletMeta,
55
+ blockletMeta: tmpBlockletMeta,
56
56
  loading,
57
57
  children,
58
58
  logoUrl,
@@ -74,6 +74,7 @@ function Layout(_ref) {
74
74
  activeStep,
75
75
  totalStepsCount
76
76
  } = (0, _step.useStepContext)();
77
+ const blockletMeta = tmpBlockletMeta || {};
77
78
  const Container = isMobile ? MobileContent : PcContent;
78
79
  const translations = (0, _locale.getTranslations)(locale);
79
80
  if (navLogo && ! /*#__PURE__*/(0, _react2.isValidElement)(navLogo) && (0, _isObject.default)(navLogo)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/launcher-layout",
3
- "version": "2.1.89",
3
+ "version": "2.1.90",
4
4
  "description": "Common ux components of launcher",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -39,8 +39,8 @@
39
39
  "@arcblock/did-connect": "^2.6.7",
40
40
  "@arcblock/icons": "^2.6.7",
41
41
  "@arcblock/ux": "^2.6.7",
42
- "@blocklet/launcher-util": "2.1.89",
43
- "@blocklet/launcher-ux": "2.1.89",
42
+ "@blocklet/launcher-util": "2.1.90",
43
+ "@blocklet/launcher-ux": "2.1.90",
44
44
  "@blocklet/meta": "^1.16.13",
45
45
  "@emotion/react": "^11.11.1",
46
46
  "@emotion/styled": "^11.11.0",
@@ -60,5 +60,5 @@
60
60
  "@storybook/react": "^6.5.16",
61
61
  "babel-plugin-inline-react-svg": "^2.0.2"
62
62
  },
63
- "gitHead": "b737a8450f1abf6d6fff054a87ccbe45929fc5b8"
63
+ "gitHead": "7838a63c9cf10ccc1575a04bec0a38ad1f541b16"
64
64
  }