Skip to content

Commit

Permalink
fix: warning with component name (#331)
Browse files Browse the repository at this point in the history
  • Loading branch information
MadCcc authored Nov 28, 2023
1 parent 3386b91 commit f43fa89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Collapse.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const Collapse = React.forwardRef<HTMLDivElement, CollapseProps>((props, ref) =>
// ======================== Children ========================
warning(
!children,
'`children` will be removed in next major version. Please use `items` instead.',
'[rc-collapse] `children` will be removed in next major version. Please use `items` instead.',
);

const mergedChildren = useItems(items, children, {
Expand Down

1 comment on commit f43fa89

@vercel
Copy link

@vercel vercel bot commented on f43fa89 Nov 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deployment failed with the following error:

Resource is limited - try again in 6 hours (more than 100, code: "api-deployments-free-per-day").

Please sign in to comment.