When using the SessionsCard component from @daveyplate/better-auth-ui, clicking Sign Out keeps loading indefinitely. No errors appear in the console or in the Network tab.
Code Example:
import { SessionsCard } from "@daveyplate/better-auth-ui";
<SessionsCard
localization={{
SESSIONS: "Active Devices",
SESSIONS_DESCRIPTION: "Review and revoke access from active devices and sessions.",
CURRENT_SESSION: "This Device",
REVOKE: "Remove Access",
}}
/>
Steps to Reproduce:
Render SessionsCard in a page with a logged-in user.
Click Sign Out for the current session.
Observe that the button keeps loading, and the user is not signed out.
Expected Behavior:
The session should be signed out, and the UI should update accordingly.
Actual Behavior:
The button keeps loading indefinitely, and no console or network errors are reported.