Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

712 B
Raw Blame
'use client'

import { useMemo } from 'react'
import { ContactsImPlatformRuntimeProvider } from './composition'
import { ContactsImPlatformManagementSurface } from './management-surface'

export function ContactsImPlatformAccountSettingPage({
  canManage,
  organizationId,
}: {
  canManage: boolean
  organizationId: string
}) {
  const organization = useMemo(
    () => ({
      canManage,
      organizationId,
      workspaceId: organizationId,
    }),
    [canManage, organizationId],
  )

  return (
    <ContactsImPlatformRuntimeProvider organization={organization}>
      <div className="-mt-2">
        <ContactsImPlatformManagementSurface />
      </div>
    </ContactsImPlatformRuntimeProvider>
  )
}