Home / Function/ DeployEdgeFunctionWarningModal() — supabase Function Reference

DeployEdgeFunctionWarningModal() — supabase Function Reference

Architecture documentation for the DeployEdgeFunctionWarningModal() function in DeployEdgeFunctionWarningModal.tsx from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/studio/components/interfaces/EdgeFunctions/DeployEdgeFunctionWarningModal.tsx lines 10–34

export const DeployEdgeFunctionWarningModal = ({
  visible,
  onCancel,
  onConfirm,
  isDeploying,
}: DeployEdgeFunctionWarningModalProps) => {
  return (
    <ConfirmationModal
      visible={visible}
      size="medium"
      title="Confirm to deploy updates"
      confirmLabel="Deploy updates"
      confirmLabelLoading="Deploying updates"
      variant="warning"
      loading={isDeploying}
      onCancel={onCancel}
      onConfirm={onConfirm}
    >
      <p className="text-sm text-foreground-light">
        Deploying will immediately update your live Edge Function for this project and cannot be
        rolled back automatically. Are you sure you want to deploy the changes?
      </p>
    </ConfirmationModal>
  )
}

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free