Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
nemophrost committed Oct 11, 2016
1 parent b3fbff5 commit 43aadd1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions examples/components/SwiperNumber/index.js
Expand Up @@ -34,10 +34,10 @@ const renderPagination = (index, total, context) => {
return (
<View style={{
position: 'absolute',
bottom: 10
bottom: 10,
right: 10
}}>
<Text style={{ color:'grey' }}>
<Text style={{ color: 'grey' }}>
<Text style={{
color: 'white',
fontSize: 20
Expand Down
6 changes: 2 additions & 4 deletions src/index.js
Expand Up @@ -363,13 +363,11 @@ export default class extends Component {
this.setState(newState, () => {
this.setState({ offset: offset }, cb)
})
}
else {
} else {
newState.offset = offset
this.setState(newState, cb)
}
}
else {
} else {
this.setState(newState, cb)
}
}
Expand Down

0 comments on commit 43aadd1

Please sign in to comment.