From fcdc98e66091b3a20497bf69b4ad469cff53a5e4 Mon Sep 17 00:00:00 2001
From: Michael Terry
Date: Sun, 25 Jun 2017 19:08:24 -0700
Subject: [PATCH 1/2] Fix pointer to Button definition location
---
app/react/src/demo/Welcome.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/react/src/demo/Welcome.js b/app/react/src/demo/Welcome.js
index ddf09bc8952..8f191b1f503 100644
--- a/app/react/src/demo/Welcome.js
+++ b/app/react/src/demo/Welcome.js
@@ -64,7 +64,7 @@ const Welcome = props =>
You can also edit those components and see changes right away.
(Try editing the Button component
- located at src/stories/Button.js.)
+ located at src/stories/index.js.)
Usually we create stories with smaller UI components in the app.
From 8e6df76a2e6f1b9441f7053ca30ad9ab2715d78a Mon Sep 17 00:00:00 2001
From: Michael Shilman
Date: Mon, 26 Jun 2017 15:28:03 +1000
Subject: [PATCH 2/2] Tweaked Welcome message and snapshot to fix the build
---
app/react/src/demo/Welcome.js | 2 +-
examples/test-cra/src/__snapshots__/storyshots.test.js.snap | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/app/react/src/demo/Welcome.js b/app/react/src/demo/Welcome.js
index 8f191b1f503..fb42d2b3c7c 100644
--- a/app/react/src/demo/Welcome.js
+++ b/app/react/src/demo/Welcome.js
@@ -63,7 +63,7 @@ const Welcome = props =>
You can also edit those components and see changes right away.
- (Try editing the Button component
+ (Try editing the Button stories
located at src/stories/index.js.)
diff --git a/examples/test-cra/src/__snapshots__/storyshots.test.js.snap b/examples/test-cra/src/__snapshots__/storyshots.test.js.snap
index a09cbc66cc5..142cc1e87e5 100644
--- a/examples/test-cra/src/__snapshots__/storyshots.test.js.snap
+++ b/examples/test-cra/src/__snapshots__/storyshots.test.js.snap
@@ -79,11 +79,11 @@ exports[`Storyshots Welcome to Storybook 1`] = `
>
Button
- component located at
+ stories located at
- src/stories/Button.js
+ src/stories/index.js
.)