Skip to content

Commit a3c00b7

Browse files
authored
fix: remove social login (#26)
* remove social wallet option * remove social wallet options * just remove it from the dialog via useTurnkeyEnabled override * remove unnecessary changes
1 parent e08d437 commit a3c00b7

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

src/hooks/useEnableTurnkey.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { StatsigFlags } from '@/constants/statsig';
1+
// import { StatsigFlags } from '@/constants/statsig';
22

3-
import { testFlags } from '@/lib/testFlags';
3+
// import { testFlags } from '@/lib/testFlags';
44

5-
import { useStatsigGateValue } from './useStatsig';
5+
// import { useStatsigGateValue } from './useStatsig';
66

77
export const useEnableTurnkey = () => {
8-
const forcedTurnkey = testFlags.enableTurnkey;
9-
const turnkeyFF = useStatsigGateValue(StatsigFlags.ffTurnkeyWeb);
8+
// const forcedTurnkey = testFlags.enableTurnkey;
9+
// const turnkeyFF = useStatsigGateValue(StatsigFlags.ffTurnkeyWeb);
1010

11-
return forcedTurnkey || turnkeyFF;
11+
return false; // forcedTurnkey || turnkeyFF;
1212
};

src/views/dialogs/OnboardingDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ export const OnboardingDialog = ({
259259
/>
260260
);
261261
};
262-
const $Content = tw.div`flexColumn gap-1`;
262+
const $Content = tw.div`flexColumn mt-2 gap-1`;
263263

264264
const $Dialog = styled(Dialog)<{ width?: string }>`
265265
@media ${breakpoints.notMobile} {

src/views/dialogs/OnboardingDialog/ChooseWallet.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import { WalletIcon } from '@/components/WalletIcon';
2626
export const ChooseWallet = ({
2727
onChooseWallet,
2828
onSignInWithSocials,
29-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
3029
onSignInWithPasskey,
3130
}: {
3231
onChooseWallet: (wallet: WalletInfo) => void;
@@ -49,7 +48,7 @@ export const ChooseWallet = ({
4948
<HorizontalSeparatorFiller />
5049
</div>
5150

52-
{/* <$OtherOptionButton
51+
<$OtherOptionButton
5352
type={ButtonType.Button}
5453
action={ButtonAction.Base}
5554
size={ButtonSize.BasePlus}
@@ -61,7 +60,7 @@ export const ChooseWallet = ({
6160
</div>
6261

6362
<Icon iconName={IconName.ChevronRight} />
64-
</$OtherOptionButton> */}
63+
</$OtherOptionButton>
6564

6665
<$OtherOptionButton
6766
type={ButtonType.Button}

0 commit comments

Comments
 (0)