Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d0c6ac8

Browse files
authoredMay 2, 2017
Update index.tsx
1 parent 43da584 commit d0c6ac8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class ProgressiveImage extends React.Component<ProgressiveImageProps, Pro
3333
render() {
3434
const {src} = this.state;
3535
const {children} = this.props;
36-
if (!children || typeof children !== 'function') {
36+
if (!children || typeof children !== "function") {
3737
throw new Error("ProgressiveImage requires a function as its only child");
3838
}
3939
return children(src, this.getStyle());

0 commit comments

Comments
 (0)
Please sign in to comment.