mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 10:28:10 +08:00
Revert "[autofix.ci] apply automated fixes"
This reverts commit 01a05289e9.
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
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'
|
||||
@ -210,7 +211,7 @@ const Install: FC<Props> = ({
|
||||
disabled={!canInstall || isInstalling || selectedPlugins.length === 0 || !canInstallPluginFromMarketplace}
|
||||
onClick={handleInstall}
|
||||
>
|
||||
{isInstalling && <span className="i-ri-loader-2-line h-4 w-4 animate-spin-slow" />}
|
||||
{isInstalling && <RiLoader2Line className="h-4 w-4 animate-spin-slow" />}
|
||||
<span>{t(`${i18nPrefix}.${isInstalling ? 'installing' : 'install'}`, { ns: 'plugin' })}</span>
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user