Skip to content

Commit

Permalink
feat(connect-kit/x-settings): remove sign-in
Browse files Browse the repository at this point in the history
  • Loading branch information
runjuu committed Mar 10, 2023
1 parent 827da6b commit 01159ee
Showing 1 changed file with 0 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import {
SettingsSection,
DumbOpSignIcon,
WalletIcon,
IdCardIcon,
Congrats,
} from "../../../../components";

Expand All @@ -42,15 +41,6 @@ export function MainSetting() {
const characterId = character?.characterId;
const { goTo, goBack, updateLast } = useDynamicScenesModal();

const goToSignIn = useRefCallback(() => {
goTo({
kind: "sign-in",
Component: () => (
<SignInWithWallet canGoBack={true} afterSignIn={goBack} />
),
});
});

const goToOPSign = useRefCallback(() => {
if (!!account.wallet?.siwe) {
goTo({
Expand Down Expand Up @@ -156,15 +146,6 @@ export function MainSetting() {

<SettingsSection
items={compact([
!account.email && {
id: "sign-in",
icon: <IdCardIcon className={styles.icon} />,
title: "Sign In",
description: "Sign in servers to get more features",
disabled: !!account.wallet?.siwe,
onClick: goToSignIn,
},

!!account.email && {
id: "upgrade-email-account",
icon: <WalletIcon className={styles.icon} />,
Expand Down

0 comments on commit 01159ee

Please sign in to comment.