From a7d825052e3bda843b59f14d606b34c5d5f69eee Mon Sep 17 00:00:00 2001 From: KishenKumarrrrr Date: Wed, 3 Jan 2024 17:35:16 +0800 Subject: [PATCH] feat: remove telegram campaign creation in fe --- .../create/create-modal/CreateModal.tsx | 27 --------------- .../DuplicateCampaignModal.tsx | 26 --------------- .../create-demo-modal/CreateDemoModal.tsx | 33 +++---------------- 3 files changed, 4 insertions(+), 82 deletions(-) diff --git a/frontend/src/components/dashboard/create/create-modal/CreateModal.tsx b/frontend/src/components/dashboard/create/create-modal/CreateModal.tsx index a97fc6175..fe2d69b03 100644 --- a/frontend/src/components/dashboard/create/create-modal/CreateModal.tsx +++ b/frontend/src/components/dashboard/create/create-modal/CreateModal.tsx @@ -165,33 +165,6 @@ const CreateModal = ({

)} - -
- setSelectedChannel(ChannelType.Telegram)} - /> - - {selectedChannel === ChannelType.Telegram && ( -

- Set up your Telegram Bot.   - - Learn more. - -

- )} -
{canAccessGovsg && (
{

)}
-
- - - {campaign.type === ChannelType.Telegram && ( -

- Set up your Telegram Bot.   - - Learn more. - -

- )} -
{canAccessGovsg && (
- Demo campaigns are for SMS and Telegram channels only, as the Email - channel is already free. You may send messages to at most 20 - recipients in each campaign. One try will be used up only after a - demo campaign has been sent, otherwise, it will stay as a draft. + Demo campaigns are for SMS channels only, as the Email channel is + already free. You may send messages to at most 20 recipients in each + campaign. One try will be used up only after a demo campaign has + been sent, otherwise, it will stay as a draft.
@@ -151,31 +151,6 @@ const CreateDemoModal = ({ > -
- setSelectedChannel(ChannelType.Telegram) - } - > - Telegram - - -