[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2026-01-26 11:24:44 +00:00
committed by GitHub
parent 14828853b1
commit 01a05289e9
688 changed files with 1639 additions and 2998 deletions

View File

@ -1,6 +1,5 @@
'use client'
import type { FC } from 'react'
import { RiCloseLine } from '@remixicon/react'
import * as React from 'react'
import { useTranslation } from 'react-i18next'
import Checkbox from '@/app/components/base/checkbox'
@ -26,7 +25,7 @@ const LoadingError: FC = () => {
<Group className="text-text-quaternary" />
</div>
<div className="absolute bottom-[-4px] right-[-4px] rounded-full border-[2px] border-components-panel-bg bg-state-destructive-solid">
<RiCloseLine className="h-3 w-3 text-text-primary-on-surface" />
<span className="i-ri-close-line h-3 w-3 text-text-primary-on-surface" />
</div>
</div>
<div className="ml-3 grow">

View File

@ -2,7 +2,6 @@
import type { FC } from 'react'
import type { Dependency, InstallStatus, InstallStatusResponse, Plugin, VersionInfo } from '../../../types'
import type { ExposeRefs } from './install-multi'
import { RiLoader2Line } from '@remixicon/react'
import * as React from 'react'
import { useCallback, useRef, useState } from 'react'
import { useTranslation } from 'react-i18next'
@ -211,7 +210,7 @@ const Install: FC<Props> = ({
disabled={!canInstall || isInstalling || selectedPlugins.length === 0 || !canInstallPluginFromMarketplace}
onClick={handleInstall}
>
{isInstalling && <RiLoader2Line className="h-4 w-4 animate-spin-slow" />}
{isInstalling && <span className="i-ri-loader-2-line h-4 w-4 animate-spin-slow" />}
<span>{t(`${i18nPrefix}.${isInstalling ? 'installing' : 'install'}`, { ns: 'plugin' })}</span>
</Button>
</div>

View File

@ -1,7 +1,6 @@
'use client'
import type { Plugin, PluginDeclaration, UpdateFromGitHubPayload } from '../../../types'
import { RiLoader2Line } from '@remixicon/react'
import * as React from 'react'
import { useEffect } from 'react'
import { useTranslation } from 'react-i18next'
@ -171,7 +170,7 @@ const Loaded: React.FC<LoadedProps> = ({
onClick={handleInstall}
disabled={isInstalling || isLoading}
>
{isInstalling && <RiLoader2Line className="h-4 w-4 animate-spin-slow" />}
{isInstalling && <span className="i-ri-loader-2-line h-4 w-4 animate-spin-slow" />}
<span>{t(`${i18nPrefix}.${isInstalling ? 'installing' : 'install'}`, { ns: 'plugin' })}</span>
</Button>
</div>

View File

@ -1,7 +1,6 @@
'use client'
import type { FC } from 'react'
import type { PluginDeclaration } from '../../../types'
import { RiLoader2Line } from '@remixicon/react'
import * as React from 'react'
import { useEffect, useMemo } from 'react'
import { Trans, useTranslation } from 'react-i18next'
@ -159,7 +158,7 @@ const Installed: FC<Props> = ({
disabled={isInstalling || isLoading}
onClick={handleInstall}
>
{isInstalling && <RiLoader2Line className="h-4 w-4 animate-spin-slow" />}
{isInstalling && <span className="i-ri-loader-2-line h-4 w-4 animate-spin-slow" />}
<span>{t(`${i18nPrefix}.${isInstalling ? 'installing' : 'install'}`, { ns: 'plugin' })}</span>
</Button>
</div>

View File

@ -1,7 +1,6 @@
'use client'
import type { FC } from 'react'
import type { Dependency, PluginDeclaration } from '../../../types'
import { RiLoader2Line } from '@remixicon/react'
import * as React from 'react'
import { useTranslation } from 'react-i18next'
import Button from '@/app/components/base/button'
@ -61,7 +60,7 @@ const Uploading: FC<Props> = ({
<>
<div className="flex flex-col items-start justify-center gap-4 self-stretch px-6 py-3">
<div className="flex items-center gap-1 self-stretch">
<RiLoader2Line className="h-4 w-4 animate-spin-slow text-text-accent" />
<span className="i-ri-loader-2-line h-4 w-4 animate-spin-slow text-text-accent" />
<div className="system-md-regular text-text-secondary">
{t(`${i18nPrefix}.uploadingPackage`, {
ns: 'plugin',

View File

@ -1,7 +1,6 @@
'use client'
import type { FC } from 'react'
import type { Plugin, PluginManifestInMarket } from '../../../types'
import { RiLoader2Line } from '@remixicon/react'
import * as React from 'react'
import { useEffect, useMemo } from 'react'
import { useTranslation } from 'react-i18next'
@ -169,7 +168,7 @@ const Installed: FC<Props> = ({
disabled={isInstalling || isLoading || !canInstall}
onClick={handleInstall}
>
{isInstalling && <RiLoader2Line className="h-4 w-4 animate-spin-slow" />}
{isInstalling && <span className="i-ri-loader-2-line h-4 w-4 animate-spin-slow" />}
<span>{t(`${i18nPrefix}.${isInstalling ? 'installing' : 'install'}`, { ns: 'plugin' })}</span>
</Button>
</div>