Skip to content

Commit 802e277

Browse files
committed
refactor(clerk-js,react): Rename __experimental_mountTaskResetPassword to mountTaskResetPassword for clarity
1 parent 359cb33 commit 802e277

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/react/src/isomorphicClerk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1223,7 +1223,7 @@ export class IsomorphicClerk implements IsomorphicLoadedClerk {
12231223
}
12241224
};
12251225

1226-
__experimental_mountTaskResetPassword = (node: HTMLDivElement, props?: TaskResetPasswordProps): void => {
1226+
mountTaskResetPassword = (node: HTMLDivElement, props?: TaskResetPasswordProps): void => {
12271227
if (this.clerkjs && this.loaded) {
12281228
this.clerkjs.mountTaskResetPassword(node, props);
12291229
} else {

packages/shared/src/types/clerk.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ export interface Clerk {
649649
/**
650650
* Mounts a TaskResetPassword component at the target element.
651651
*
652-
* @param targetNode - Target node to mount the TaskChooseOrganization component.
652+
* @param targetNode - Target node to mount the TaskResetPassword component.
653653
* @param props - configuration parameters.
654654
*/
655655
mountTaskResetPassword: (targetNode: HTMLDivElement, props?: TaskResetPasswordProps) => void;
@@ -658,7 +658,7 @@ export interface Clerk {
658658
* Unmount a TaskResetPassword component from the target element.
659659
* If there is no component mounted at the target node, results in a noop.
660660
*
661-
* @param targetNode - Target node to unmount the TaskChooseOrganization component from.
661+
* @param targetNode - Target node to unmount the TaskResetPassword component from.
662662
*/
663663
unmountTaskResetPassword: (targetNode: HTMLDivElement) => void;
664664

0 commit comments

Comments
 (0)