spreading the rest first

This commit is contained in:
okbel
2017-12-18 15:21:02 -03:00
parent 1cdef8f864
commit 35c88ffab4
+1 -1
View File
@@ -92,6 +92,7 @@ export default (tag, options = {}) => hoistStatics((WrappedComponent) => {
const alreadyTagged = isTagged(comment.tags, TAG);
return <WrappedComponent
{...rest}
root={root}
asset={asset}
comment={comment}
@@ -100,7 +101,6 @@ export default (tag, options = {}) => hoistStatics((WrappedComponent) => {
postTag={this.postTag}
deleteTag={this.deleteTag}
config={config}
{...rest}
/>;
}
}