diff --git a/shared/src/components/CodeExcerpt.tsx b/shared/src/components/CodeExcerpt.tsx index b9c23d51a684f..5fb076284f4c9 100644 --- a/shared/src/components/CodeExcerpt.tsx +++ b/shared/src/components/CodeExcerpt.tsx @@ -66,7 +66,7 @@ export class CodeExcerpt extends React.PureComponent { commitID, filePath, isLightTheme, - disableTimeout: true, + disableTimeout: false, }) ), catchError(error => [asError(error)]) diff --git a/web/src/repo/backend.tsx b/web/src/repo/backend.tsx index 55314eb5a4606..6802227ce222d 100644 --- a/web/src/repo/backend.tsx +++ b/web/src/repo/backend.tsx @@ -218,9 +218,6 @@ export const fetchHighlightedFileLines = memoizeObservable( if (result.isDirectory) { return [] } - if (result.highlightedFile.aborted) { - throw new Error('aborted fetching highlighted contents') - } let parsed = result.highlightedFile.html.substr(''.length) parsed = parsed.substr(0, parsed.length - '
'.length) const rows = parsed.split('')