Skip to content

Commit

Permalink
fix: fix bugs with aboveNodes
Browse files Browse the repository at this point in the history
  • Loading branch information
yf-yang committed Jan 25, 2025
1 parent b012dc1 commit e733fb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/www/src/registry/default/plate-ui/draggable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const DraggableAboveNodes: NodeWrapperComponent = (props) => {

if (!enabled) return;

return (props) => <Draggable {...props} />;
return Draggable;
};

export const Draggable = withRef<'div', PlateRenderElementProps>(
Expand Down

0 comments on commit e733fb5

Please sign in to comment.