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

View File

@@ -2,12 +2,13 @@ import { Button, toast } from '@affine/component';
import { DebugLogger } from '@affine/debug';
import { nanoid } from '@blocksuite/store';
import { Typography } from '@mui/material';
import React, { useEffect, useMemo, useState } from 'react';
import type React from 'react';
import { useEffect, useMemo, useState } from 'react';
import { createBroadCastChannelProvider } from '../../blocksuite/providers';
import PageList from '../../components/blocksuite/block-suite-page-list/page-list';
import { StyledPage, StyledWrapper } from '../../layouts/styles';
import { BroadCastChannelProvider } from '../../shared';
import type { BroadCastChannelProvider } from '../../shared';
import { createEmptyBlockSuiteWorkspace } from '../../utils';
const logger = new DebugLogger('broadcast');

View File

@@ -3,7 +3,7 @@ import dynamic from 'next/dynamic';
import { useRouter } from 'next/router';
import { StyledPage, StyledWrapper } from '../../layouts/styles';
import { NextPageWithLayout } from '../../shared';
import type { NextPageWithLayout } from '../../shared';
import { initPage } from '../../utils/blocksuite';
const Editor = dynamic(