Skip to content

Commit

Permalink
Fix flow config and a minor type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Go虉kcan Deg虇irmenci committed Feb 14, 2019
1 parent 3861e3b commit 453e491
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .flowconfig
Expand Up @@ -27,7 +27,7 @@
.*/node_modules/react-native-tab-view/.*
.*/node_modules/react-navigation-redux-helpers/.*
.*/node_modules/react-native-safe-area/.*

.*/node_modules/react-native/.*

[include]

Expand Down
1 change: 1 addition & 0 deletions src/web/index.js
Expand Up @@ -160,6 +160,7 @@ export default class ShimmerImage extends Component<Props, State> {
}

if (error) {
// $FlowFixMe
return onError ? onError(error) : null
} else if (isLoading) {
if (loadingIndicatorSource) {
Expand Down

0 comments on commit 453e491

Please sign in to comment.