web: Fixed displaying logo image on static version

This commit is contained in:
Alexey Safronov 2019-05-27 11:38:05 +03:00
parent 0b294fddd9
commit 5f76e83d30
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
},
"scripts": {
"start": "start-storybook -p 6006 -s ./public",
"build-storybook": "build-storybook -c .storybook -o storybook-static"
"build-storybook": "build-storybook -c .storybook -o storybook-static -s public"
},
"eslintConfig": {
"extends": "react-app"

View File

@ -6,6 +6,6 @@ import { NavMenu } from 'asc-web-components';
storiesOf('Components|NavMenu', module)
.add('base', () => (
<NavMenu logoUrl="/light_small_general.svg" href="/?path=/story/components-navmenu--base" >
<NavMenu logoUrl="./light_small_general.svg" href="/?path=/story/components-navmenu--base" >
</NavMenu>
));