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,5 +1,6 @@
import React from 'react';
import { SWRConfig, SWRConfiguration } from 'swr';
import type { SWRConfiguration } from 'swr';
import { SWRConfig } from 'swr';
import { fetcher } from '../plugins/affine/fetcher';
+2 -1
View File
@@ -1,7 +1,8 @@
import { useAtom, useAtomValue, useSetAtom } from 'jotai';
import dynamic from 'next/dynamic';
import { useRouter } from 'next/router';
import React, { useCallback } from 'react';
import type React from 'react';
import { useCallback } from 'react';
import {
currentWorkspaceIdAtom,
+1 -1
View File
@@ -1,4 +1,4 @@
import { AffineTheme, ThemeProviderProps } from '@affine/component';
import type { AffineTheme, ThemeProviderProps } from '@affine/component';
import {
getDarkTheme,
getLightTheme,