Files
dify/web/app/components/plugins/update-plugin/from-github.tsx
Stephen Zhou a84c2d36a3 style: format with vp fmt (#38803)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-12 15:57:46 +00:00

17 lines
510 B
TypeScript

'use client'
import type { FC } from 'react'
import type { UpdateFromGitHubPayload } from '../types'
import * as React from 'react'
import InstallFromGitHub from '../install-plugin/install-from-github'
type Props = Readonly<{
payload: UpdateFromGitHubPayload
onSave: () => void
onCancel: () => void
}>
const FromGitHub: FC<Props> = ({ payload, onSave, onCancel }) => {
return <InstallFromGitHub updatePayload={payload} onClose={onCancel} onSuccess={onSave} />
}
export default React.memo(FromGitHub)