mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 02:18:08 +08:00
chore: lint require and how to import react (#30041)
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import type { IPaginationProps, IUsePagination } from './type'
|
||||
import React, { useCallback } from 'react'
|
||||
import * as React from 'react'
|
||||
import { useCallback } from 'react'
|
||||
|
||||
const usePagination = ({
|
||||
currentPage,
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import type { FC } from 'react'
|
||||
import { RiArrowLeftLine, RiArrowRightLine } from '@remixicon/react'
|
||||
import { useDebounceFn } from 'ahooks'
|
||||
import React from 'react'
|
||||
import * as React from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import Button from '@/app/components/base/button'
|
||||
import Input from '@/app/components/base/input'
|
||||
|
||||
@ -5,7 +5,7 @@ import type {
|
||||
PageButtonProps,
|
||||
} from './type'
|
||||
import { noop } from 'lodash-es'
|
||||
import React from 'react'
|
||||
import * as React from 'react'
|
||||
import { cn } from '@/utils/classnames'
|
||||
import usePagination from './hook'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user