File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed
Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 1+ import { ConnectButton , ConnectButtonProps } from "@suiet/wallet-kit" ;
2+
3+ /**
4+ * Custom wrapper for ConnectButton with "Connect Wallet" text
5+ */
6+ export function ConnectWallet ( props : Omit < ConnectButtonProps , 'children' > ) {
7+ return (
8+ < ConnectButton { ...props } >
9+ Connect Wallet
10+ </ ConnectButton >
11+ ) ;
12+ }
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import { Avatar, AvatarImage } from "./ui/avatar";
1717import { NavYourChats } from "./nav-your-chats" ;
1818
1919import "@suiet/wallet-kit/style.css" ;
20- import { ConnectButton } from "@suiet/wallet-kit " ;
20+ import { ConnectWallet } from "./ConnectWallet " ;
2121import { NavActions } from "./nav-actions" ;
2222import { useWalletAddress } from "@/hooks/useWalletAddress" ;
2323import { useConversations } from "@/hooks/useConversations" ;
@@ -133,7 +133,7 @@ export function AppSidebar({ ...props }: React.ComponentProps<typeof Sidebar>) {
133133 < NavSecondary items = { navSecondary } className = "mt-auto" />
134134 </ SidebarContent >
135135 < SidebarFooter >
136- < ConnectButton className = "w-full!" />
136+ < ConnectWallet className = "w-full!" />
137137 </ SidebarFooter >
138138 </ Sidebar >
139139 ) ;
Original file line number Diff line number Diff line change 167167 .wkit-dialog__content p : has (+ a ) {
168168 margin-bottom : 1rem ;
169169 }
170+
170171}
You can’t perform that action at this time.
0 commit comments