fix: resolve TypeScript errors in migrated components
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
* - Automatic token refresh
|
||||
*/
|
||||
import { createAuthClient } from "better-auth/react";
|
||||
import { credentialsClient } from "better-auth-credentials-plugin/client";
|
||||
// Note: Credentials plugin import removed - better-auth has built-in credentials support
|
||||
|
||||
/**
|
||||
* Auth client instance configured for Jarvis.
|
||||
@@ -18,11 +18,8 @@ export const authClient = createAuthClient({
|
||||
? window.location.origin
|
||||
: process.env.BETTER_AUTH_URL || "http://localhost:3042",
|
||||
|
||||
// Plugins
|
||||
plugins: [
|
||||
// Credentials client for username/password auth
|
||||
credentialsClient(),
|
||||
],
|
||||
// Plugins can be added here when needed
|
||||
plugins: [],
|
||||
});
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user