"use client";

import { magicLinkClient } from "better-auth/client/plugins";
import { createAuthClient } from "better-auth/react";

// No baseURL: the auth routes are same-origin with the dashboard, which is the
// only place the client runs.
export const authClient = createAuthClient({
  plugins: [magicLinkClient()],
});
