chore: lint require and how to import react (#30041)

This commit is contained in:
Stephen Zhou
2025-12-23 18:02:10 +08:00
committed by GitHub
parent 72ca3607a3
commit 403adefc07
1078 changed files with 1680 additions and 1216 deletions

View File

@ -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'

View File

@ -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'

View File

@ -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'

View File

@ -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'

View File

@ -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'

View File

@ -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'

View File

@ -1,4 +1,4 @@
import React from 'react'
import * as React from 'react'
import { useTranslation } from 'react-i18next'
type WeekdaySelectorProps = {