Fix collection component setup

This commit is contained in:
Daniel Lautzenheiser 2022-10-26 16:01:19 -04:00
parent 775577d13e
commit 904170aee2

View File

@ -293,4 +293,4 @@ const mapDispatchToProps = {
const connector = connect(mapStateToProps, mapDispatchToProps); const connector = connect(mapStateToProps, mapDispatchToProps);
export type CollectionViewProps = ConnectedProps<typeof connector>; export type CollectionViewProps = ConnectedProps<typeof connector>;
export default connector(translate()(CollectionView) as ComponentType<CollectionViewProps>); export default translate()(connector(CollectionView)) as ComponentType<CollectionViewOwnProps>;