File size: 491 Bytes
fa9c65f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | import { openSignIn, openSignUp } from '@/services/clerk';
/**
* Minimal auth launcher -- wraps Clerk.openSignIn() / openSignUp().
* Replaces the custom OTP modal. Clerk handles all UI.
*/
export class AuthLauncher {
public open(): void {
openSignIn();
}
public openSignUp(): void {
openSignUp();
}
public close(): void {
// Clerk manages its own modal lifecycle
}
public destroy(): void {
// Nothing to clean up -- Clerk manages its own resources
}
}
|