Skip to content

Commit f4d8faa

Browse files
committed
fix: Revert buildTasksUrl changes
1 parent e7cc9d9 commit f4d8faa

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

.changeset/yummy-geese-work.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/react/src/isomorphicClerk.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,8 +404,8 @@ export class IsomorphicClerk implements IsomorphicLoadedClerk {
404404
}
405405
};
406406

407-
buildTasksUrl = (opts?: TasksRedirectOptions): string | void => {
408-
const callback = () => this.clerkjs?.buildTasksUrl(opts) || '';
407+
buildTasksUrl = (): string | void => {
408+
const callback = () => this.clerkjs?.buildTasksUrl() || '';
409409
if (this.clerkjs && this.loaded) {
410410
return callback();
411411
} else {

packages/shared/src/types/clerk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ export interface Clerk {
744744
/**
745745
* Returns the configured url where tasks are mounted.
746746
*/
747-
buildTasksUrl(opts?: TasksRedirectOptions): string;
747+
buildTasksUrl(): string;
748748

749749
/**
750750
* Returns the configured afterSignInUrl of the instance.

0 commit comments

Comments
 (0)