Skip to content

Commit 417e623

Browse files
committed
get rid of use of react-bootstrap in configuring email address in account prefs
1 parent f95473c commit 417e623

File tree

4 files changed

+54
-418
lines changed

4 files changed

+54
-418
lines changed

src/packages/frontend/account/settings/account-settings.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ import { PassportStrategyFrontend } from "@cocalc/util/types/passport-types";
4949
import { DeleteAccount } from "../delete-account";
5050
import { SignOut } from "../sign-out";
5151
import { set_account_table, ugly_error } from "../util";
52-
import { APIKeySetting } from "./api-key";
5352
import { EmailAddressSetting } from "./email-address-setting";
5453
import { EmailVerification } from "./email-verification";
5554
import { PasswordSetting } from "./password-setting";
@@ -578,7 +577,6 @@ will no longer work (automatic redirects are not implemented), so change with ca
578577
}
579578
return (
580579
<EmailAddressSetting
581-
account_id={props.account_id}
582580
email_address={props.email_address}
583581
is_anonymous={props.is_anonymous}
584582
disabled={props.is_anonymous && !terms_checkbox}
@@ -619,11 +617,6 @@ will no longer work (automatic redirects are not implemented), so change with ca
619617
}
620618
}
621619

622-
function render_api_key(): Rendered {
623-
if (props.is_anonymous) return;
624-
return <APIKeySetting />;
625-
}
626-
627620
return (
628621
<Panel header={render_header()}>
629622
{render_anonymous_warning()}
@@ -634,7 +627,6 @@ will no longer work (automatic redirects are not implemented), so change with ca
634627
<div style={{ marginBottom: "15px" }}></div>
635628
{render_email_verification()}
636629
{render_password()}
637-
{render_api_key()}
638630
{render_created()}
639631
{render_delete_account()}
640632
{render_linked_external_accounts()}

src/packages/frontend/account/settings/api-key.tsx

Lines changed: 0 additions & 321 deletions
This file was deleted.

0 commit comments

Comments
 (0)