mirror of
https://github.com/strapi/strapi.git
synced 2025-11-03 11:25:17 +00:00
Chore: Fix eslint errors
This commit is contained in:
parent
9b2d5b0e6f
commit
ab1d9e66b3
@ -194,7 +194,4 @@ Component.propTypes = {
|
||||
|
||||
const Memoized = memo(Component, isEqual);
|
||||
|
||||
export default connect(
|
||||
Memoized,
|
||||
select
|
||||
);
|
||||
export default connect(Memoized, select);
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
|
||||
function connect(WrappedComponent, select) {
|
||||
return function(props) {
|
||||
return (props) => {
|
||||
const selectors = select(props);
|
||||
|
||||
return <WrappedComponent {...props} {...selectors} />;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user