Skip to content

Commit

Permalink
store initialState as passed without copy (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
DZhuribeda authored and brabadu committed Aug 21, 2017
1 parent 913ec82 commit 0dd3671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tanokInReact.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class TanokInReact extends React.Component {
streamWrapper.metadata.push(null);

const streamState = makeStreamState(
Object.assign({}, initialState),
initialState,
update,
eventStream,
middlewares
Expand Down

0 comments on commit 0dd3671

Please sign in to comment.