diff options
Diffstat (limited to 'components/PostLink.stories.js')
-rw-r--r-- | components/PostLink.stories.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/components/PostLink.stories.js b/components/PostLink.stories.js index 71d04ed..a824b35 100644 --- a/components/PostLink.stories.js +++ b/components/PostLink.stories.js @@ -1,4 +1,5 @@ import { storiesOf } from '@storybook/vue' +import { center } from '../.storybook/decorators' import PostLink from './PostLink' @@ -9,13 +10,6 @@ export const postLink = { route: '/kronika/2019/20/11/test' } -const center = () => { - return { - template: - '<div style="display: flex; align-items: center; justify-content: center"><story/></div>' - } -} - storiesOf('PostLink', module) .addDecorator(center) .add('default', () => { |