Skip to content

Commit

Permalink
refactor: add renderDropZone SSR fix missed from Render component
Browse files Browse the repository at this point in the history
  • Loading branch information
1benw authored Jan 12, 2025
1 parent 4a04445 commit 99e9ecb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/core/components/DropZone/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,11 @@ const DropZoneRender = forwardRef<HTMLDivElement, DropZoneProps>(
>
<Component.render
{...item.props}
puck={{ renderDropZone: DropZoneRender }}
puck={{
renderDropZone: (props: DropZoneProps) => (
<DropZoneRender {...props} />
),
}}
/>
</DropZoneProvider>
);
Expand Down

0 comments on commit 99e9ecb

Please sign in to comment.