chore: lint require and how to import react (#30041)

This commit is contained in:
Stephen Zhou
2025-12-23 18:02:10 +08:00
committed by GitHub
parent 72ca3607a3
commit 403adefc07
1078 changed files with 1680 additions and 1216 deletions

View File

@ -1,7 +1,7 @@
import type { FC } from 'react'
import type { CreateExternalAPIReq, FormSchema } from '../declarations'
import { RiBookOpenLine } from '@remixicon/react'
import React from 'react'
import * as React from 'react'
import { useTranslation } from 'react-i18next'
import Input from '@/app/components/base/input'
import { useDocLink } from '@/context/i18n'

View File

@ -3,7 +3,7 @@ import {
RiBookOpenLine,
RiCloseLine,
} from '@remixicon/react'
import React from 'react'
import * as React from 'react'
import { useTranslation } from 'react-i18next'
import ActionButton from '@/app/components/base/action-button'
import Button from '@/app/components/base/button'

View File

@ -4,7 +4,8 @@ import {
RiDeleteBinLine,
RiEditLine,
} from '@remixicon/react'
import React, { useState } from 'react'
import * as React from 'react'
import { useState } from 'react'
import { useTranslation } from 'react-i18next'
import ActionButton from '@/app/components/base/action-button'
import Confirm from '@/app/components/base/confirm'