mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 08:58:09 +08:00
chore: lint require and how to import react (#30041)
This commit is contained in:
@ -2,7 +2,8 @@
|
||||
import type { FC } from 'react'
|
||||
import type { GitHubItemAndMarketPlaceDependency, Plugin } from '../../../types'
|
||||
import type { VersionProps } from '@/app/components/plugins/types'
|
||||
import React, { useEffect } from 'react'
|
||||
import * as React from 'react'
|
||||
import { useEffect } from 'react'
|
||||
import { useUploadGitHub } from '@/service/use-plugins'
|
||||
import Loading from '../../base/loading'
|
||||
import { pluginManifestToCardPluginProps } from '../../utils'
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
'use client'
|
||||
import type { FC } from 'react'
|
||||
import type { Plugin, VersionProps } from '../../../types'
|
||||
import React from 'react'
|
||||
import * as React from 'react'
|
||||
import Checkbox from '@/app/components/base/checkbox'
|
||||
import { MARKETPLACE_API_PREFIX } from '@/config'
|
||||
import Card from '../../../card'
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
import type { FC } from 'react'
|
||||
import type { Plugin } from '../../../types'
|
||||
import type { VersionProps } from '@/app/components/plugins/types'
|
||||
import React from 'react'
|
||||
import * as React from 'react'
|
||||
import Loading from '../../base/loading'
|
||||
import LoadedItem from './loaded-item'
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
import type { FC } from 'react'
|
||||
import type { PackageDependency, Plugin } from '../../../types'
|
||||
import type { VersionProps } from '@/app/components/plugins/types'
|
||||
import React from 'react'
|
||||
import * as React from 'react'
|
||||
import LoadingError from '../../base/loading-error'
|
||||
import { pluginManifestToCardPluginProps } from '../../utils'
|
||||
import LoadedItem from './loaded-item'
|
||||
|
||||
Reference in New Issue
Block a user