mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
chore: lint require and how to import react (#30041)
This commit is contained in:
1 parent
72ca3607a3
commit
403adefc07
1078 files changed
+1680
-1216
No files matched your search
@@ -4,7 +4,8 @@ import {
|
||||
RiArrowDownSLine,
|
||||
} from '@remixicon/react'
|
||||
import { t } from 'i18next'
|
||||
import React, { useCallback, useState } from 'react'
|
||||
import * as React from 'react'
|
||||
import { useCallback, useState } from 'react'
|
||||
import { Check } from '@/app/components/base/icons/src/vender/line/general'
|
||||
import Input from '@/app/components/base/input'
|
||||
import { PortalToFollowElem, PortalToFollowElemContent, PortalToFollowElemTrigger } from '@/app/components/base/portal-to-follow-elem'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type { FC } from 'react'
|
||||
import type { CodeNodeType } from './types'
|
||||
import type { NodeProps } from '@/app/components/workflow/types'
|
||||
import React from 'react'
|
||||
import * as React from 'react'
|
||||
|
||||
const Node: FC<NodeProps<CodeNodeType>> = () => {
|
||||
return (
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type { FC } from 'react'
|
||||
import type { CodeNodeType } from './types'
|
||||
import type { NodePanelProps } from '@/app/components/workflow/types'
|
||||
import React from 'react'
|
||||
import * as React from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import AddButton from '@/app/components/base/button/add-button'
|
||||
import SyncButton from '@/app/components/base/button/sync-button'
|
||||
|
||||
Reference in new issue
Block a user