Skip to content

Commit

Permalink
refactor: delete unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gabaldon committed Aug 30, 2024
1 parent 4f7af76 commit 4689ab5
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 16 deletions.
18 changes: 2 additions & 16 deletions src/components/EmptyState/WEmptyState.stories.ts
Original file line number Diff line number Diff line change
@@ -1,30 +1,16 @@
import type { Meta, StoryObj } from '@storybook/vue3'
// import { fn } from '@storybook/test';
import WEmptyState from './WEmptyState.vue'

// More on how to set up stories at: https://storybook.js.org/docs/writing-stories
const meta: any = {
title: 'Example/WEmptyState',
component: WEmptyState,
// This component will have an automatically generated docsPage entry: https://storybook.js.org/docs/writing-docs/autodocs
tags: ['autodocs'],
argTypes: {
// type: { control: 'select', options: ['primary', 'secondary', 'arrow', 'dark'] }
},
args: {
// type: 'primary'
// Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#action-args
// onClick: fn(),
}
argTypes: {},
args: {}
} satisfies Meta<typeof WEmptyState>

export default meta
type Story = StoryObj<typeof meta>
/*
*👇 Render functions are a framework specific feature to allow you control on how the component renders.
* See https://storybook.js.org/docs/api/csf
* to learn how to use render functions.
*/

export const Default: Story = {
render: (args: any) => ({
Expand Down
35 changes: 35 additions & 0 deletions src/components/Navbar/WNavbar.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,41 @@ export const Navbar: Story = {
rel: 'buy',
locale: 'buy'
},
{
key: 'build',
active: false,
to: '/build',
rel: 'build',
locale: 'build'
},
{
key: 'build',
active: false,
to: '/build',
rel: 'build',
locale: 'build'
},
{
key: 'build',
active: false,
to: '/build',
rel: 'build',
locale: 'build'
},
{
key: 'build',
active: false,
to: '/build',
rel: 'build',
locale: 'build'
},
{
key: 'build',
active: false,
to: '/build',
rel: 'build',
locale: 'build'
},
{
key: 'build',
active: false,
Expand Down

0 comments on commit 4689ab5

Please sign in to comment.