Skip to content

Commit c13213e

Browse files
authored
fix: Remove the default error for failed tests error banner (#3784)
1 parent 52909c8 commit c13213e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

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

+1-4
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,7 @@ function FailedTestsErrorBanner() {
105105
})
106106

107107
const { data } = useTestResultsTestSuites({ branch })
108-
const latestUploadError = data?.latestUploadError ?? {
109-
errorCode: ErrorCodeEnum.fileNotFoundInStorage,
110-
errorMessage: 'File not found',
111-
}
108+
const latestUploadError = data?.latestUploadError
112109

113110
if (!latestUploadError || branch === overview?.defaultBranch) {
114111
return null

0 commit comments

Comments
 (0)