Skip to content

Commit

Permalink
Bind function doesn't return anything
Browse files Browse the repository at this point in the history
  • Loading branch information
stat92 authored and tur-nr committed Oct 9, 2017
1 parent ef67938 commit 4b2ff06
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,9 @@ export default function PolymerRedux(store) {
});

subscribers.set(element, unsubscribe);
update(store.getState());

return update(store.getState());
return update;
};

/**
Expand Down

0 comments on commit 4b2ff06

Please sign in to comment.