mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 01:18:05 +08:00
chore: lint require and how to import react (#30041)
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import type { ScheduleFrequency } from '../types'
|
||||
import React, { useMemo } from 'react'
|
||||
import * as React from 'react'
|
||||
import { useMemo } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { SimpleSelect } from '@/app/components/base/select'
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import type { ScheduleMode } from '../types'
|
||||
import { RiCalendarLine, RiCodeLine } from '@remixicon/react'
|
||||
import React from 'react'
|
||||
import * as React from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { SegmentedControl } from '@/app/components/base/segmented-control'
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import type { ScheduleMode } from '../types'
|
||||
import React from 'react'
|
||||
import * as React from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { Asterisk, CalendarCheckLine } from '@/app/components/base/icons/src/vender/workflow'
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { RiQuestionLine } from '@remixicon/react'
|
||||
import React from 'react'
|
||||
import * as React from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import Tooltip from '@/app/components/base/tooltip'
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import type { ScheduleTriggerNodeType } from '../types'
|
||||
import React from 'react'
|
||||
import * as React from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { getFormattedExecutionTimes } from '../utils/execution-time-calculator'
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import React from 'react'
|
||||
import * as React from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import Slider from '@/app/components/base/slider'
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import React from 'react'
|
||||
import * as React from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
|
||||
type WeekdaySelectorProps = {
|
||||
|
||||
Reference in New Issue
Block a user