style: restrict type import (#1589)

This commit is contained in:
Himself65
2023-03-15 11:58:43 -05:00
committed by GitHub
parent 6ab2f83e13
commit efcf1fcaa0
154 changed files with 332 additions and 307 deletions
@@ -1,6 +1,6 @@
import React from 'react';
import type React from 'react';
import { BlockSuiteWorkspace } from '../../../shared';
import type { BlockSuiteWorkspace } from '../../../shared';
import PageList from './page-list';
export type BlockSuitePageListProps = {
@@ -1,5 +1,6 @@
import { TableCell, TableCellProps } from '@affine/component';
import { PageMeta } from '@blocksuite/store';
import type { TableCellProps } from '@affine/component';
import { TableCell } from '@affine/component';
import type { PageMeta } from '@blocksuite/store';
import dayjs from 'dayjs';
import localizedFormat from 'dayjs/plugin/localizedFormat';
import React from 'react';
@@ -17,8 +17,9 @@ import {
OpenInNewIcon,
ResetIcon,
} from '@blocksuite/icons';
import { PageMeta } from '@blocksuite/store';
import React, { useState } from 'react';
import type { PageMeta } from '@blocksuite/store';
import type React from 'react';
import { useState } from 'react';
export type OperationCellProps = {
pageMeta: PageMeta;
@@ -13,19 +13,20 @@ import {
FavoriteIcon,
PageIcon,
} from '@blocksuite/icons';
import { PageMeta } from '@blocksuite/store';
import type { PageMeta } from '@blocksuite/store';
import {
useMediaQuery,
useTheme as useMuiTheme,
useTheme,
} from '@mui/material';
import React, { useMemo } from 'react';
import type React from 'react';
import { useMemo } from 'react';
import {
usePageMeta,
usePageMetaHelper,
} from '../../../../hooks/use-page-meta';
import { BlockSuiteWorkspace } from '../../../../shared';
import type { BlockSuiteWorkspace } from '../../../../shared';
import DateCell from './DateCell';
import Empty from './Empty';
import { OperationCell, TrashOperationCell } from './OperationCell';