diff --git a/packages/frontend/src/components/projects/project/deployments/DeploymentDetailsCard.tsx b/packages/frontend/src/components/projects/project/deployments/DeploymentDetailsCard.tsx index 8caf9ad1..09bfe11c 100644 --- a/packages/frontend/src/components/projects/project/deployments/DeploymentDetailsCard.tsx +++ b/packages/frontend/src/components/projects/project/deployments/DeploymentDetailsCard.tsx @@ -60,22 +60,6 @@ const DeploymentDetailsCard = ({ } }; - const renderDeploymentMenu = useCallback( - (className?: string) => { - return ( - - ); - }, - [deployment, currentDeployment, onUpdate, project, prodBranchDomains], - ); - const renderDeploymentStatus = useCallback( (className?: string) => { return ( @@ -94,9 +78,9 @@ const DeploymentDetailsCard = ({ ); return ( -
+
-
+
{/* DEPLOYMENT URL */} {deployment.url && (
- {/* MENU ON MOBILE */} - {renderDeploymentMenu('flex md:hidden ml-auto')}
{/* DEPLOYMENT STATUS */} @@ -167,7 +149,14 @@ const DeploymentDetailsCard = ({
- {renderDeploymentMenu('ml-auto hidden md:flex')} +
);