diff --git a/src/components/PDFView/index.tsx b/src/components/PDFView/index.tsx
index 52f883113234..bb30817fb9ef 100644
--- a/src/components/PDFView/index.tsx
+++ b/src/components/PDFView/index.tsx
@@ -85,21 +85,6 @@ function PDFView({onToggleKeyboard, fileName, onPress, isFocused, sourceURL, max
}
}, [isKeyboardOpen, prevWindowHeight, toggleKeyboardOnSmallScreens, windowHeight]);
- const renderLoadingIndicator = () => {
- if (isUsedAsChatAttachment) {
- return (
-
-
-
- );
- }
-
- return ;
- };
-
const renderPDFView = () => {
const outerContainerStyle = [styles.w100, styles.h100, styles.justifyContentCenter, styles.alignItemsCenter];
@@ -116,7 +101,7 @@ function PDFView({onToggleKeyboard, fileName, onPress, isFocused, sourceURL, max
maxCanvasWidth={maxCanvasWidth}
maxCanvasHeight={maxCanvasHeight}
maxCanvasArea={maxCanvasArea}
- LoadingComponent={renderLoadingIndicator()}
+ LoadingComponent={}
shouldShowErrorComponent={false}
onLoadError={onLoadError}
renderPasswordForm={({isPasswordInvalid, onSubmit, onPasswordChange}) => (