Initial commit of eigent-main

This commit is contained in:
puzhen 2025-08-12 01:16:39 +02:00
commit 723df5a03e
1144 changed files with 103478 additions and 0 deletions

View file

@ -0,0 +1,29 @@
// src/components-page/account-settings/settings/sign-out-section.tsx
import { Button } from "@stackframe/stack-ui";
import { useUser } from "../../../lib/hooks";
import { useTranslation } from "../../../lib/translations";
import { Section } from "../section";
import { jsx } from "react/jsx-runtime";
function SignOutSection() {
const { t } = useTranslation();
const user = useUser({ or: "throw" });
return /* @__PURE__ */ jsx(
Section,
{
title: t("Sign out"),
description: t("End your current session"),
children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
Button,
{
variant: "secondary",
onClick: () => user.signOut(),
children: t("Sign out")
}
) })
}
);
}
export {
SignOutSection
};
//# sourceMappingURL=sign-out-section.js.map