Skip to content

Commit

Permalink
fix: wallet dark mode (#995)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyhyco authored Aug 7, 2024
1 parent cd9d109 commit 74cf0a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/wallet/components/ConnectWallet.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ describe('ConnectWallet', () => {
expect(setIsOpenMock).toHaveBeenCalledWith(true);
});

it('applies bg-secondary-active class when isOpen is true', () => {
it('applies bg-ock-secondary-active class when isOpen is true', () => {
(useWalletContext as vi.Mock).mockReturnValue({
isOpen: true,
setIsOpen: vi.fn(),
Expand All @@ -147,6 +147,6 @@ describe('ConnectWallet', () => {
);

const button = screen.getByTestId('ockConnectWallet_Connected');
expect(button).toHaveClass('bg-secondary-active');
expect(button).toHaveClass('bg-ock-secondary-active');
});
});
2 changes: 1 addition & 1 deletion src/wallet/components/ConnectWallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export function ConnectWallet({
className={cn(
pressable.secondary,
'rounded-xl px-4 py-3',
isOpen && 'bg-secondary-active hover:bg-secondary-active',
isOpen && 'bg-ock-secondary-active hover:bg-ock-secondary-active',
className,
)}
onClick={handleToggle}
Expand Down

0 comments on commit 74cf0a4

Please sign in to comment.