From d3f110009b273183305650142b4a3ea5e653b9a4 Mon Sep 17 00:00:00 2001 From: Kevin Ghadyani Date: Tue, 9 Aug 2022 13:09:49 -0500 Subject: [PATCH 1/2] fix: storybook pages now show correct code examples --- packages/odyssey-storybook/.storybook/preview.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/odyssey-storybook/.storybook/preview.js b/packages/odyssey-storybook/.storybook/preview.js index daea26a0f3..24cd9e4aeb 100644 --- a/packages/odyssey-storybook/.storybook/preview.js +++ b/packages/odyssey-storybook/.storybook/preview.js @@ -38,4 +38,9 @@ export const parameters = { }, ], }, + docs: { + source: { + excludeDecorators: true, + }, + }, }; From 4bcac94d2054b16aa3f95971da477c2bd6e6ecd6 Mon Sep 17 00:00:00 2001 From: Kevin Ghadyani Date: Tue, 9 Aug 2022 13:10:40 -0500 Subject: [PATCH 2/2] fix: removed unused imports in Storybook main.js --- packages/odyssey-storybook/.storybook/main.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/odyssey-storybook/.storybook/main.js b/packages/odyssey-storybook/.storybook/main.js index 18cab5f1d4..9abebb0190 100644 --- a/packages/odyssey-storybook/.storybook/main.js +++ b/packages/odyssey-storybook/.storybook/main.js @@ -10,9 +10,6 @@ * See the License for the specific language governing permissions and limitations under the License. */ -const path = require("path"); -const { ProvidePlugin } = require("webpack"); - module.exports = { addons: [ "@storybook/addon-links",