Skip to content
This repository was archived by the owner on Feb 19, 2025. It is now read-only.

Commit 4cf4733

Browse files
committed
Renamed function
1 parent 8669e60 commit 4cf4733

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/PageExtractionModal/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class PageExtractionModal extends React.Component<PageExtractionModalInputProps,
162162
handlers.forEach(handler => handler(input))
163163
);
164164
};
165-
loadThumbnail = (pageNumber: number) => {
165+
renderThumbnail = (pageNumber: number) => {
166166
return (
167167
<PageExtractionThumbnail
168168
wvInstance={this.props.wvInstance}
@@ -256,7 +256,7 @@ class PageExtractionModal extends React.Component<PageExtractionModalInputProps,
256256
<VirtualList
257257
height="400px"
258258
padding={13}
259-
render={this.loadThumbnail}
259+
render={this.renderThumbnail}
260260
items={this.state.pageCount}
261261
/>
262262
<div style={{ display: "flex", flexDirection: "row", marginTop: "1em" }}>

0 commit comments

Comments
 (0)