mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
style: import from './index' instead of '.' (#5590)
Co-authored-by: LongYinan <lynweklm@gmail.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import type { Meta, StoryFn } from '@storybook/react';
|
||||
|
||||
import { AddPageButton } from '.';
|
||||
import { AddPageButton } from './index';
|
||||
|
||||
export default {
|
||||
title: 'Components/AppSidebar/AddPageButton',
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { Meta, StoryFn } from '@storybook/react';
|
||||
|
||||
import { CategoryDivider } from '.';
|
||||
import { CategoryDivider } from './index';
|
||||
|
||||
export default {
|
||||
title: 'Components/AppSidebar/CategoryDivider',
|
||||
|
||||
@@ -2,7 +2,7 @@ import { SettingsIcon } from '@blocksuite/icons';
|
||||
import type { Meta, StoryFn } from '@storybook/react';
|
||||
import { useState } from 'react';
|
||||
|
||||
import { MenuItem, MenuLinkItem } from '.';
|
||||
import { MenuItem, MenuLinkItem } from './index';
|
||||
|
||||
export default {
|
||||
title: 'Components/AppSidebar/MenuItem',
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { Meta, StoryFn } from '@storybook/react';
|
||||
|
||||
import { QuickSearchInput } from '.';
|
||||
import { QuickSearchInput } from './index';
|
||||
|
||||
export default {
|
||||
title: 'Components/AppSidebar/QuickSearchInput',
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type { Meta, StoryFn } from '@storybook/react';
|
||||
import { type PropsWithChildren } from 'react';
|
||||
|
||||
import { Spotlight } from '.';
|
||||
import { Spotlight } from './index';
|
||||
|
||||
export default {
|
||||
title: 'Components/AppSidebar/Spotlight',
|
||||
|
||||
Reference in New Issue
Block a user