Skip to content

Commit b5fd5d5

Browse files
committed
fix: address feedback
1 parent 9531248 commit b5fd5d5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/pages/RepoPage/FailedTestsTab/FailedTestsPage/FailedTestsTable/FailedTestsTable.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,8 @@ const FailedTestsTable = () => {
300300
}, [fetchNextPage, inView, hasNextPage])
301301

302302
if (testData?.isFirstPullRequest && testData.totalCount === 0) {
303+
const defaultBranch = testData?.defaultBranch ?? 'default'
304+
303305
return (
304306
<div className="flex flex-col gap-2">
305307
<TableHeader
@@ -310,8 +312,8 @@ const FailedTestsTable = () => {
310312
<div className="mt-4 text-center text-ds-gray-quinary">
311313
<p>No data yet</p>
312314
<p>
313-
To see data for the {testData?.defaultBranch} branch, merge your PR
314-
into the {testData?.defaultBranch} branch.
315+
To see data for the {defaultBranch} branch, merge your PR into the{' '}
316+
{defaultBranch} branch.
315317
</p>
316318
</div>
317319
</div>

src/pages/RepoPage/FailedTestsTab/FailedTestsPage/SelectorSection/BranchSelector/BranchSelector.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ const BranchSelector = () => {
6969
})
7070

7171
let selection = searchBranchValue?.branch
72-
console.log('selection', selection)
7372

7473
if (!allBranchesEnabledFlag) {
7574
if (!selection) {

0 commit comments

Comments
 (0)