From c9eccfda7ce64638d7036fbe88b9339c71a41ed2 Mon Sep 17 00:00:00 2001 From: nl_0 Date: Wed, 18 Aug 2021 19:27:40 +0500 Subject: [PATCH] cleanup --- catalog/app/containers/Bucket/PackageDialog/PackageDialog.tsx | 1 - catalog/app/containers/Bucket/PackageUpdateDialog.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/catalog/app/containers/Bucket/PackageDialog/PackageDialog.tsx b/catalog/app/containers/Bucket/PackageDialog/PackageDialog.tsx index 25792ba5597..e1299bdcd68 100644 --- a/catalog/app/containers/Bucket/PackageDialog/PackageDialog.tsx +++ b/catalog/app/containers/Bucket/PackageDialog/PackageDialog.tsx @@ -199,7 +199,6 @@ export function mkMetaValidator(schema?: JsonSchema) { } } -// validate: FF.FieldValidator<$TSFixMe> export type MetaValidator = ReturnType interface FieldProps { diff --git a/catalog/app/containers/Bucket/PackageUpdateDialog.tsx b/catalog/app/containers/Bucket/PackageUpdateDialog.tsx index 05e87b5778f..7b33c5fa070 100644 --- a/catalog/app/containers/Bucket/PackageUpdateDialog.tsx +++ b/catalog/app/containers/Bucket/PackageUpdateDialog.tsx @@ -79,7 +79,7 @@ export function usePackageUpdateDialog({ resetFiles: 'Undo changes', submit: 'Push', successBrowse: 'Browse', - successTitle: 'Package created', // TODO: package revision created? + successTitle: 'Push complete', successRenderMessage: ({ packageLink }) => ( <>Package revision {packageLink} successfully created ),