From 98a0212c75bae33f4b4a1736451f784752d1ce41 Mon Sep 17 00:00:00 2001 From: Vu Nguyen Date: Thu, 16 Jul 2020 12:03:11 +0700 Subject: [PATCH] feat: #1917 Remove unused code --- .../__snapshots__/contact-developer-modal.test.tsx.snap | 4 ---- .../app-detail-preview/client/contact-developer-modal.tsx | 2 -- .../__snapshots__/contact-developer-modal.test.tsx.snap | 4 ---- .../pages/app-detail/client/contact-developer-modal.tsx | 2 -- 4 files changed, 12 deletions(-) diff --git a/packages/developer-portal/src/components/pages/app-detail-preview/client/__tests__/__snapshots__/contact-developer-modal.test.tsx.snap b/packages/developer-portal/src/components/pages/app-detail-preview/client/__tests__/__snapshots__/contact-developer-modal.test.tsx.snap index 51960255db..19d08e90b5 100644 --- a/packages/developer-portal/src/components/pages/app-detail-preview/client/__tests__/__snapshots__/contact-developer-modal.test.tsx.snap +++ b/packages/developer-portal/src/components/pages/app-detail-preview/client/__tests__/__snapshots__/contact-developer-modal.test.tsx.snap @@ -12,7 +12,6 @@ exports[`ContactDeveloperSection should match snapshot with gutter 1`] = ` NEED HELP? } - maskAnimation="fade" onClose={[Function]} title="Contact Details" visible={false} @@ -109,7 +107,6 @@ exports[`ContactDeveloperSection should match snapshot without gutter 1`] = ` NEED HELP? } - maskAnimation="fade" onClose={[Function]} title="Contact Details" visible={false} diff --git a/packages/developer-portal/src/components/pages/app-detail-preview/client/contact-developer-modal.tsx b/packages/developer-portal/src/components/pages/app-detail-preview/client/contact-developer-modal.tsx index 06b3f8dfe2..829eefda12 100644 --- a/packages/developer-portal/src/components/pages/app-detail-preview/client/contact-developer-modal.tsx +++ b/packages/developer-portal/src/components/pages/app-detail-preview/client/contact-developer-modal.tsx @@ -35,8 +35,6 @@ export const ContactDeveloperSection = ({ visible={visible} title={'Contact Details'} onClose={closeContactModal(setVisible)} - animation="slide" - maskAnimation="fade" footer={