chore: prohibit import package itself (#2612)

Co-authored-by: Whitewater <me@waterwater.moe>
This commit is contained in:
Himself65
2023-05-31 15:00:50 +08:00
committed by GitHub
parent 06abb702f5
commit 248cd9a8ab
38 changed files with 138 additions and 98 deletions
@@ -1,4 +1,3 @@
import { IconButton } from '@affine/component';
import {
DeleteTemporarilyIcon,
SettingsIcon,
@@ -8,6 +7,7 @@ import type { Meta, StoryFn } from '@storybook/react';
import { useAtom } from 'jotai';
import { type PropsWithChildren, useState } from 'react';
import { IconButton } from '../..';
import { AppSidebar, AppSidebarFallback, appSidebarOpenAtom } from '.';
import { AddPageButton } from './add-page-button';
import { CategoryDivider } from './category-divider';
@@ -1,4 +1,3 @@
import { IconButton } from '@affine/component';
import { getEnvironment } from '@affine/env/config';
import {
ArrowLeftSmallIcon,
@@ -7,6 +6,7 @@ import {
} from '@blocksuite/icons';
import { useAtom } from 'jotai';
import { IconButton } from '../../..';
import type { History } from '..';
import { navHeaderStyle, sidebarButtonStyle } from '../index.css';
import { appSidebarOpenAtom } from '../index.jotai';