@storybook/react-native 6.5.6-alpha.1 → 6.5.7

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/dist/index.js +3 -0
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -271,6 +271,9 @@ function BackgroundIcon({ name, ...props }) {
271
271
 
272
272
  // src/preview/components/StoryListView/getNestedStories.ts
273
273
  function getNestedStories(storyIndex) {
274
+ if (!storyIndex || !storyIndex.stories) {
275
+ return [];
276
+ }
274
277
  const stories = Object.values(storyIndex.stories);
275
278
  const group = [];
276
279
  stories.forEach((story) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/react-native",
3
- "version": "6.5.6-alpha.1",
3
+ "version": "6.5.7",
4
4
  "description": "A better way to develop React Native Components for your app",
5
5
  "keywords": [
6
6
  "react",
@@ -60,7 +60,7 @@
60
60
  "@storybook/core-events": "^6.5.14",
61
61
  "@storybook/csf": "0.0.2--canary.4566f4d.1",
62
62
  "@storybook/preview-web": "^6.5.14",
63
- "@storybook/react-native-theming": "^6.5.6-alpha.1",
63
+ "@storybook/react-native-theming": "^6.5.7",
64
64
  "chokidar": "^3.5.1",
65
65
  "commander": "^8.2.0",
66
66
  "deepmerge": "^4.3.0",
@@ -92,5 +92,5 @@
92
92
  "publishConfig": {
93
93
  "access": "public"
94
94
  },
95
- "gitHead": "b360ede72785b3e0ed38bff323df74496919ed67"
95
+ "gitHead": "9db04944a3e97f46160ce5ad75df6f0bf4535bd8"
96
96
  }