Skip to content

g1t/apps/web/app/components/account-settings.tsx

30 lines724 bytesCodeBlame

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas1import { Form } from "react-router";
2
web: sign-in, account settings and the verify banner say they are working and confirm; the account menu is never served from the browser's copy after a change3import { SubmitButton } from "./ui";
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas4
web: sign-in, account settings and the verify banner say they are working and confirm; the account menu is never served from the browser's copy after a change5/**
6 * One row's way out of a list in your settings: a key, a token, an
7 * application. It says it is working until the row has gone.
8 */
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas9export function DeleteButton({
10 intent,
11 id,
12 label = "Delete",
web: sign-in, account settings and the verify banner say they are working and confirm; the account menu is never served from the browser's copy after a change13 pending = "Deleting…",
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas14}: {
15 intent: string;
16 id: string;
17 label?: string;
web: sign-in, account settings and the verify banner say they are working and confirm; the account menu is never served from the browser's copy after a change18 /** The words while it works. */
19 pending?: string;
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas20}) {
21 return (
22 <Form method="post" className="ml-auto">
23 <input type="hidden" name="intent" value={intent} />
24 <input type="hidden" name="id" value={id} />
web: sign-in, account settings and the verify banner say they are working and confirm; the account menu is never served from the browser's copy after a change25 <SubmitButton variant="quiet" pending={pending} match={{ intent, id }}>
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas26 {label}
web: sign-in, account settings and the verify banner say they are working and confirm; the account menu is never served from the browser's copy after a change27 </SubmitButton>
status.g1t.sh with incident management, invites that land you in the workspace, settings as pages, usage without quotas28 </Form>
29 );
30}