From cfb99faf2a538fa7420fec0a4a3d569800252bfd Mon Sep 17 00:00:00 2001 From: Saxon Fletcher Date: Wed, 2 Jul 2025 16:45:42 +1000 Subject: [PATCH] clean up --- .../studio/pages/project/[ref]/merge-requests/[id].tsx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/apps/studio/pages/project/[ref]/merge-requests/[id].tsx b/apps/studio/pages/project/[ref]/merge-requests/[id].tsx index 3e501973c40..8abb11835ef 100644 --- a/apps/studio/pages/project/[ref]/merge-requests/[id].tsx +++ b/apps/studio/pages/project/[ref]/merge-requests/[id].tsx @@ -64,8 +64,6 @@ const MergeRequestPage: NextPageWithLayout = () => { id, }) - console.log('mergeRequest', mergeRequest) - // Get branch information for base and head const { data: branches } = useBranchesQuery( { projectRef: parentProjectRef }, @@ -76,13 +74,9 @@ const MergeRequestPage: NextPageWithLayout = () => { } ) - console.log('branches', branches) - const headBranch = branches?.find((branch) => branch.id === mergeRequest?.head) const baseBranch = branches?.find((branch) => branch.id === mergeRequest?.base) - console.log('branches', headBranch, baseBranch) - // Get the head branch project to use for connection string const headBranchProject = useProjectByRef(headBranch?.project_ref) @@ -151,8 +145,6 @@ const MergeRequestPage: NextPageWithLayout = () => { const currentWorkflowRun = currentBranchWorkflow || parentBranchWorkflow const workflowRunLogs = currentBranchLogs || parentBranchLogs - console.log('isBranchOutOfDateMigrations', isBranchOutOfDateMigrations) - // Check if workflow failed based on final status or current status const hasCurrentWorkflowFailed = workflowFinalStatus ? ['MIGRATIONS_FAILED', 'FUNCTIONS_FAILED'].includes(workflowFinalStatus) @@ -423,7 +415,7 @@ const MergeRequestPage: NextPageWithLayout = () => { const requestedTime = dayjs(mergeRequest.merge_requested_at).fromNow() const approvalStatus = mergeRequest.merge_approved_by ? 'Approved' : 'Open' return ( -
+
{approvalStatus} {mergeRequest.merge_requested_by} requested to merge