From fe7acb386363e7d17739abd86d6b3a4673693ee0 Mon Sep 17 00:00:00 2001 From: Yulia Shanyrova Date: Tue, 14 Jun 2022 15:51:32 +0200 Subject: [PATCH] makeReq --- grafana-plugin/src/pages/cloud/CloudPage.tsx | 24 +------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/grafana-plugin/src/pages/cloud/CloudPage.tsx b/grafana-plugin/src/pages/cloud/CloudPage.tsx index 0ba8f093..63df35e0 100644 --- a/grafana-plugin/src/pages/cloud/CloudPage.tsx +++ b/grafana-plugin/src/pages/cloud/CloudPage.tsx @@ -69,10 +69,6 @@ const CloudPage = observer((props: CloudPageProps) => { setApiKeyError(false); }, []); - const saveKeyAndConnect = () => { - setShowConfirmationModal(true); - }; - const disconnectCloudOncall = () => { setCloudIsConnected(false); store.cloudStore.disconnectToCloud(); @@ -130,7 +126,6 @@ const CloudPage = observer((props: CloudPageProps) => { return ( @@ -387,23 +382,6 @@ const CloudPage = observer((props: CloudPageProps) => { ) : ( DisconnectedBlock )} - - {showConfirmationModal && ( - setShowConfirmationModal(false)} - > - - - - - - )} );