Fix collection component setup
This commit is contained in:
parent
775577d13e
commit
904170aee2
@ -293,4 +293,4 @@ const mapDispatchToProps = {
|
||||
const connector = connect(mapStateToProps, mapDispatchToProps);
|
||||
export type CollectionViewProps = ConnectedProps<typeof connector>;
|
||||
|
||||
export default connector(translate()(CollectionView) as ComponentType<CollectionViewProps>);
|
||||
export default translate()(connector(CollectionView)) as ComponentType<CollectionViewOwnProps>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user