mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 17:08:03 +08:00
chore: lint require and how to import react (#30041)
This commit is contained in:
@ -4,7 +4,7 @@ import {
|
||||
RiArrowRightUpLine,
|
||||
RiBugLine,
|
||||
} from '@remixicon/react'
|
||||
import React from 'react'
|
||||
import * as React from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { useContext } from 'use-context-selector'
|
||||
import Button from '@/app/components/base/button'
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
'use client'
|
||||
import { noop } from 'lodash-es'
|
||||
import React, { useEffect, useMemo, useRef, useState } from 'react'
|
||||
import * as React from 'react'
|
||||
import { useEffect, useMemo, useRef, useState } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import Button from '@/app/components/base/button'
|
||||
import { Group } from '@/app/components/base/icons/src/vender/other'
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
import React, { useState } from 'react'
|
||||
import * as React from 'react'
|
||||
import { useState } from 'react'
|
||||
import { usePluginPageContext } from '../context'
|
||||
import CategoriesFilter from './category-filter'
|
||||
import SearchBox from './search-box'
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
'use client'
|
||||
import type { FC } from 'react'
|
||||
import React from 'react'
|
||||
import * as React from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import Modal from '../../base/modal'
|
||||
import KeyValueItem from '../base/key-value-item'
|
||||
|
||||
Reference in New Issue
Block a user