Skip to content

Commit a4b1602

Browse files
committed
refactor(clerk-js): Rename Web3SelectWalletScreen.tsx to Web3SelectSolanaWalletScreen.tsx to match usage of component to Solana method
Signed-off-by: Kenton Duprey <[email protected]>
1 parent 12cf037 commit a4b1602

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/clerk-js/src/ui/components/UserProfile/Web3Form.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { useReverification, useUser } from '@clerk/shared/react';
22
import type { Web3Provider, Web3Strategy } from '@clerk/shared/types';
33

4-
import { Web3SelectWalletScreen } from '@/ui/components/UserProfile/Web3SelectWalletScreen';
4+
import { Web3SelectSolanaWalletScreen } from '@/ui/components/UserProfile/Web3SelectSolanaWalletScreen';
55
import { Action } from '@/ui/elements/Action';
66
import { useActionContext } from '@/ui/elements/Action/ActionRoot';
77
import { useCardState } from '@/ui/elements/contexts';
@@ -107,7 +107,7 @@ export const AddWeb3WalletActionMenu = () => {
107107
</Action.Closed>
108108
<Action.Open value='web3Wallets'>
109109
<Action.Card>
110-
<Web3SelectWalletScreen onConnect={connect} />
110+
<Web3SelectSolanaWalletScreen onConnect={connect} />
111111
</Action.Card>
112112
</Action.Open>
113113

packages/clerk-js/src/ui/components/UserProfile/Web3SelectWalletScreen.tsx renamed to packages/clerk-js/src/ui/components/UserProfile/Web3SelectSolanaWalletScreen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export type Web3SelectWalletProps = {
1919
onConnect: (params: { strategy: Web3Strategy; walletName: string }) => Promise<void>;
2020
};
2121

22-
export const Web3SelectWalletScreen = ({ onConnect }: Web3SelectWalletProps) => {
22+
export const Web3SelectSolanaWalletScreen = ({ onConnect }: Web3SelectWalletProps) => {
2323
const card = useCardState();
2424
const { close } = useActionContext();
2525

0 commit comments

Comments
 (0)