Skip to content

Commit

Permalink
Make ts-jest happy
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh committed Feb 22, 2024
1 parent 675e0af commit 187e21e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const SlotRenderer = ({

return (
<>
{slots.map((component) => {
{slots.map((component: React.ComponentType<any>) => {
const id = uuid();
const SlotComponent = component;
return <SlotComponent key={id} id={id} />;
Expand Down

0 comments on commit 187e21e

Please sign in to comment.