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,5 +1,5 @@
import React from 'react'
import { render, screen } from '@testing-library/react'
import React from 'react'
import NoData from './index'
describe('NoData', () => {

View File

@ -1,18 +1,18 @@
import type { FC } from 'react'
import React from 'react'
import {
RiSparklingFill,
} from '@remixicon/react'
import React from 'react'
import { useTranslation } from 'react-i18next'
export type INoDataProps = {}
const NoData: FC<INoDataProps> = () => {
const { t } = useTranslation()
return (
<div className='flex h-full w-full flex-col items-center justify-center'>
<RiSparklingFill className='h-12 w-12 text-text-empty-state-icon' />
<div className="flex h-full w-full flex-col items-center justify-center">
<RiSparklingFill className="h-12 w-12 text-text-empty-state-icon" />
<div
className='system-sm-regular mt-2 text-text-quaternary'
className="system-sm-regular mt-2 text-text-quaternary"
>
{t('share.generation.noData')}
</div>