From 92016c8837c44d6203f314835deef3d44affea3a Mon Sep 17 00:00:00 2001 From: Vivian Phung Date: Wed, 22 May 2024 10:57:20 -0400 Subject: [PATCH] format --- .../projects/project/deployments/DeploymentDetailsCard.tsx | 5 ++++- packages/frontend/src/index.tsx | 5 +---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/frontend/src/components/projects/project/deployments/DeploymentDetailsCard.tsx b/packages/frontend/src/components/projects/project/deployments/DeploymentDetailsCard.tsx index 0e605bc5..57f5b855 100644 --- a/packages/frontend/src/components/projects/project/deployments/DeploymentDetailsCard.tsx +++ b/packages/frontend/src/components/projects/project/deployments/DeploymentDetailsCard.tsx @@ -49,7 +49,10 @@ const DeploymentDetailsCard = ({ prodBranchDomains, }: DeployDetailsCardProps) => { const getIconByDeploymentStatus = (status: DeploymentStatus) => { - if (status === DeploymentStatus.Building || status === DeploymentStatus.Deleting) { + if ( + status === DeploymentStatus.Building || + status === DeploymentStatus.Deleting + ) { return ; } if (status === DeploymentStatus.Ready) { diff --git a/packages/frontend/src/index.tsx b/packages/frontend/src/index.tsx index 0d9e662b..bbd5bfdf 100644 --- a/packages/frontend/src/index.tsx +++ b/packages/frontend/src/index.tsx @@ -19,10 +19,7 @@ const root = ReactDOM.createRoot( document.getElementById('root') as HTMLElement, ); -assert( - import.meta.env.VITE_SERVER_URL, - 'VITE_SERVER_URL is not set in env', -); +assert(import.meta.env.VITE_SERVER_URL, 'VITE_SERVER_URL is not set in env'); const gqlEndpoint = `${import.meta.env.VITE_SERVER_URL}/${SERVER_GQL_PATH}`; const gqlClient = new GQLClient({ gqlEndpoint });