This commit is contained in:
Nathan Bierema 2024-08-25 21:42:14 -04:00
parent da73f85519
commit bd9cadfb0f

View File

@ -17,7 +17,7 @@ export function mapProps<In, Out>(
const mappedProps = mapper(this.props);
// TODO Not really sure why this is needed, but it is
return <Comp {...(mappedProps as Out & JSX.IntrinsicElements)} />;
return <Comp {...(mappedProps as any)} />;
}
static displayName = `mapProps(${