style: enable react/react-in-jsx-scope lint rule (#1107)

This commit is contained in:
Himself65
2023-02-17 20:09:52 -06:00
committed by GitHub
parent 5f0015f522
commit 6378547a0e
28 changed files with 34 additions and 51 deletions

View File

@@ -5,11 +5,11 @@ import { useTranslation } from '@affine/i18n';
import { CloseIcon } from '@blocksuite/icons';
import router from 'next/router';
import { useCallback, useState } from 'react';
import React from 'react';
import { useGlobalState } from '@/store/app';
import { Content, ContentTitle, Header, StyleButton, StyleTips } from './style';
interface EnableWorkspaceModalProps {
open: boolean;
onClose: () => void;

View File

@@ -5,7 +5,7 @@ import {
LocalWorkspaceIcon as DefaultLocalWorkspaceIcon,
PublishIcon as DefaultPublishIcon,
} from '@blocksuite/icons';
import React from 'react';
// Here are some icons with special color or size
export const JoinedWorkspaceIcon = () => {