From 9acbae91a55cd71195387cf2380d964be8342c02 Mon Sep 17 00:00:00 2001 From: Nabarun Date: Thu, 14 Nov 2024 14:34:43 +0530 Subject: [PATCH] Run prettier --- .../Dialog/ChangeStateToProductionDialog.tsx | 6 +----- .../components/projects/create/Configure.tsx | 6 +++++- .../project/settings/GitSelectionSection.tsx | 4 ++-- .../src/components/shared/Sidebar/Sidebar.tsx | 18 ++++++++++++------ .../src/pages/org-slug/projects/Id.tsx | 4 ++-- .../pages/org-slug/projects/id/Settings.tsx | 10 +++++----- 6 files changed, 27 insertions(+), 21 deletions(-) diff --git a/packages/frontend/src/components/projects/Dialog/ChangeStateToProductionDialog.tsx b/packages/frontend/src/components/projects/Dialog/ChangeStateToProductionDialog.tsx index be68a445..4070c173 100644 --- a/packages/frontend/src/components/projects/Dialog/ChangeStateToProductionDialog.tsx +++ b/packages/frontend/src/components/projects/Dialog/ChangeStateToProductionDialog.tsx @@ -47,11 +47,7 @@ export const ChangeStateToProductionDialog = ({ handleCancel={handleCancel} open={open} handleConfirm={handleConfirm} - confirmButtonTitle={ - isConfirmButtonLoading - ? 'Redeploying' - : 'Redeploy' - } + confirmButtonTitle={isConfirmButtonLoading ? 'Redeploying' : 'Redeploy'} confirmButtonProps={{ disabled: isConfirmButtonLoading, rightIcon: isConfirmButtonLoading ? ( diff --git a/packages/frontend/src/components/projects/create/Configure.tsx b/packages/frontend/src/components/projects/create/Configure.tsx index c541cd6d..98675186 100644 --- a/packages/frontend/src/components/projects/create/Configure.tsx +++ b/packages/frontend/src/components/projects/create/Configure.tsx @@ -229,7 +229,11 @@ const Configure = () => { } // Validate transaction hash - const isTxHashValid = await verifyTx(senderAddress, txHash, amountToBePaid); + const isTxHashValid = await verifyTx( + senderAddress, + txHash, + amountToBePaid, + ); setIsPaymentLoading(false); if (isTxHashValid) { diff --git a/packages/frontend/src/components/projects/project/settings/GitSelectionSection.tsx b/packages/frontend/src/components/projects/project/settings/GitSelectionSection.tsx index 3090a14d..d1a85bf5 100644 --- a/packages/frontend/src/components/projects/project/settings/GitSelectionSection.tsx +++ b/packages/frontend/src/components/projects/project/settings/GitSelectionSection.tsx @@ -17,7 +17,7 @@ const GitSelectionSection = ({
Github
{'>'}
- {/* + {/*
{}} @@ -26,7 +26,7 @@ const GitSelectionSection = ({
Gitea
{'>'}
- */} + */} ); }; diff --git a/packages/frontend/src/components/shared/Sidebar/Sidebar.tsx b/packages/frontend/src/components/shared/Sidebar/Sidebar.tsx index a6d2bf3d..4aaffe7f 100644 --- a/packages/frontend/src/components/shared/Sidebar/Sidebar.tsx +++ b/packages/frontend/src/components/shared/Sidebar/Sidebar.tsx @@ -92,14 +92,20 @@ export const Sidebar = ({ mobileOpen }: SidebarProps) => { } value=""> - - DOCUMENTATION - + + DOCUMENTATION + } value=""> - - SUPPORT - + + SUPPORT + diff --git a/packages/frontend/src/pages/org-slug/projects/Id.tsx b/packages/frontend/src/pages/org-slug/projects/Id.tsx index e7e296e8..5be22916 100644 --- a/packages/frontend/src/pages/org-slug/projects/Id.tsx +++ b/packages/frontend/src/pages/org-slug/projects/Id.tsx @@ -118,11 +118,11 @@ const Id = () => { Deployments - {/* + {/* Integrations - */} + */} Settings diff --git a/packages/frontend/src/pages/org-slug/projects/id/Settings.tsx b/packages/frontend/src/pages/org-slug/projects/id/Settings.tsx index 93a02244..329069bf 100644 --- a/packages/frontend/src/pages/org-slug/projects/id/Settings.tsx +++ b/packages/frontend/src/pages/org-slug/projects/id/Settings.tsx @@ -37,11 +37,11 @@ const tabsData = [ icon: , value: 'environment-variables', }, -// { -// label: 'Collaborators', -// icon: , -// value: 'collaborators', -// }, + // { + // label: 'Collaborators', + // icon: , + // value: 'collaborators', + // }, ]; const SettingsTabPanel = () => {