chore(web): new lint setup (#30020)

Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
This commit is contained in:
Stephen Zhou
2025-12-23 16:58:55 +08:00
committed by GitHub
parent 9701a2994b
commit f2842da397
3356 changed files with 85046 additions and 81278 deletions

View File

@ -1,7 +1,7 @@
import { memo } from 'react'
import type { ReactNode } from 'react'
import { useTranslation } from 'react-i18next'
import { RiAddLine } from '@remixicon/react'
import { memo } from 'react'
import { useTranslation } from 'react-i18next'
import Button from '@/app/components/base/button'
type PluginAuthInDataSourceNodeProps = {
@ -19,13 +19,13 @@ const PluginAuthInDataSourceNode = ({
<>
{
!isAuthorized && (
<div className='px-4 pb-2'>
<div className="px-4 pb-2">
<Button
className='w-full'
variant='primary'
className="w-full"
variant="primary"
onClick={onJumpToDataSourcePage}
>
<RiAddLine className='mr-1 h-4 w-4' />
<RiAddLine className="mr-1 h-4 w-4" />
{t('common.integrations.connect')}
</Button>
</div>