fix: resolve TypeScript errors in migrated components

This commit is contained in:
Jason Woltje
2026-01-29 22:00:14 -06:00
parent d54714ea06
commit abbf886483
36 changed files with 758 additions and 43 deletions

View File

@@ -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: [],
});
/**