We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1dbb055 commit 64844b9Copy full SHA for 64844b9
packages/react/src/components/uiComponents.tsx
@@ -257,7 +257,7 @@ const _UserButton = withClerk(
257
const { customPages, customPagesPortals } = useUserProfileCustomPages(props.children, {
258
allowForAnyChildren: !!props.__experimental_asProvider,
259
});
260
- const userProfileProps = Object.assign({}, props.userProfileProps, { customPages });
+ const userProfileProps = { ...props.userProfileProps, customPages };
261
const { customMenuItems, customMenuItemsPortals } = useUserButtonCustomMenuItems(props.children, {
262
263
0 commit comments