Skip to content

Commit 66ab5f6

Browse files
authored
fix(console): copy path instead of full URL in account center prebuilt UI section (#8142)
1 parent 540eadd commit 66ab5f6

File tree

1 file changed

+1
-1
lines changed
  • packages/console/src/pages/SignInExperience/PageContent/AccountCenter/IntegratePrebuiltUi

1 file changed

+1
-1
lines changed

packages/console/src/pages/SignInExperience/PageContent/AccountCenter/IntegratePrebuiltUi/PrebuiltUiUrlItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function PrebuiltUiUrlItem({ path, tooltip, tenantEndpoint }: Props) {
3434
const handleCopy = async () => {
3535
copyIconRef.current?.blur();
3636
setCopyState('copying');
37-
await navigator.clipboard.writeText(fullUrl);
37+
await navigator.clipboard.writeText(path);
3838
setCopyState('copied');
3939
};
4040

0 commit comments

Comments
 (0)