From f129c1505cd0301cd8c29a7c8863c1a3b2330a70 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Fri, 14 Jun 2019 05:48:29 +0800 Subject: [PATCH] FIX unnecessary large bundlesize (#7091) FIX unnecessary large bundlesize --- addons/storysource/src/StoryPanel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/storysource/src/StoryPanel.js b/addons/storysource/src/StoryPanel.js index 939629be46dd..afa1d63ce276 100644 --- a/addons/storysource/src/StoryPanel.js +++ b/addons/storysource/src/StoryPanel.js @@ -4,7 +4,7 @@ import { styled } from '@storybook/theming'; import { Link } from '@storybook/router'; import { SyntaxHighlighter } from '@storybook/components'; -import { createElement } from 'react-syntax-highlighter'; +import createElement from 'react-syntax-highlighter/create-element'; import { EVENT_ID } from './events'; const StyledStoryLink = styled(Link)(({ theme }) => ({