- Updated the user role management logic to improve type safety and error handling, including better handling of role permissions and user associations. - Refactored the UI components for user management, enhancing the layout and styling for better user experience. - Removed outdated code related to menu permissions and streamlined the database schema for roles and profiles. - Improved the overall structure and readability of the codebase, ensuring consistency across components.
8 lines
241 B
TypeScript
8 lines
241 B
TypeScript
import { createAuthClient } from "better-auth/client";
|
|
import { convexClient } from "@convex-dev/better-auth/client/plugins";
|
|
|
|
export const authClient = createAuthClient({
|
|
baseURL: "http://localhost:5173",
|
|
plugins: [convexClient()],
|
|
});
|