Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
James Baxley committed May 28, 2016
1 parent 31b26e5 commit afd9042
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/connect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ export default function connect(opts?: ConnectOptions) {

// rudimentary way to manually check cache
let queryData = defaultQueryData as any;

// force fetch shouldn't try to read from the store
if (!forceFetch) {
try {
Expand All @@ -271,7 +271,6 @@ export default function connect(opts?: ConnectOptions) {
loading: false,
}, result);
} catch (e) {/* tslint */}

}

this.data[key] = queryData;
Expand Down

0 comments on commit afd9042

Please sign in to comment.