Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Commit

Permalink
[CHANGELOG] Update tslint settings; clean up project
Browse files Browse the repository at this point in the history
  • Loading branch information
damassi committed Dec 7, 2017
1 parent a2e95a7 commit 0b1d05b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- Move pagination from home/sale index to LotsByfollowedArtists, misc QA - chris
- Only load a single Works For You page at a time - alloy
- Get rid of image view flag that would skip on-the-fly resizing - alloy
- Add noUnusedLocals / noUnusedParameters to tslint config; clean up refs in app -chris

### 1.4.0-beta.9

Expand Down
11 changes: 9 additions & 2 deletions src/lib/Components/Inbox/Conversations/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,15 @@ export class Conversations extends React.Component<Props, State> {
}

this.setState({ fetchingNextPage: true })
this.props.relay.refetchConnection(10, () => {
this.setState({ fetchingNextPage: false })
this.props.relay.refetchConnection(10, error => {
if (error) {
// FIXME: Handle error
console.error("Conversations/index.jsx |", error)
}

this.setState({
fetchingNextPage: false,
})

if (callback) {
callback()
Expand Down

0 comments on commit 0b1d05b

Please sign in to comment.