Skip to content

Commit 4519d20

Browse files
authored
Merge pull request #9 from Orbiton-labs/claude/issue-8-20251122-1705
Claude/issue 8 20251122 1705
2 parents 507f33c + baa68a8 commit 4519d20

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

src/components/ConnectWallet.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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+
}

src/components/app-sidebar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { Avatar, AvatarImage } from "./ui/avatar";
1717
import { NavYourChats } from "./nav-your-chats";
1818

1919
import "@suiet/wallet-kit/style.css";
20-
import { ConnectButton } from "@suiet/wallet-kit";
20+
import { ConnectWallet } from "./ConnectWallet";
2121
import { NavActions } from "./nav-actions";
2222
import { useWalletAddress } from "@/hooks/useWalletAddress";
2323
import { 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
);

src/index.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,4 +167,5 @@
167167
.wkit-dialog__content p:has(+ a) {
168168
margin-bottom: 1rem;
169169
}
170+
170171
}

0 commit comments

Comments
 (0)