mirror of
https://github.com/wassname/talk.git
synced 2026-09-09 11:38:08 +08:00
Get rid of data direct dependency in the plugins
This commit is contained in:
@@ -31,9 +31,8 @@ const withViewingOptionsFragments = withFragments({
|
||||
const enhance = compose(
|
||||
connect(mapStateToProps, mapDispatchToProps),
|
||||
withViewingOptionsFragments,
|
||||
mapProps(({ root, asset, data, ...rest }) => ({
|
||||
mapProps(({ root, asset, ...rest }) => ({
|
||||
slotPassthrough: {
|
||||
data,
|
||||
root,
|
||||
asset,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user