diff --git a/frontend/src/screens/HomeScreen.tsx b/frontend/src/screens/HomeScreen.tsx
index e3bda60..aca5cad 100644
--- a/frontend/src/screens/HomeScreen.tsx
+++ b/frontend/src/screens/HomeScreen.tsx
@@ -76,29 +76,6 @@ export function HomeScreen({ onNavigate, onCreateProfile }: HomeScreenProps) {
- {active && (
-
-
-
-
-
- {active.label}
-
-
- {shortenNpub(active.npub, shorten)}
-
-
- Notes will be signed as this profile. Private keys never leave this computer.
-
-
-
-
-
- )}
-
diff --git a/frontend/src/styles.css b/frontend/src/styles.css
index 6ea2b17..0884c8a 100644
--- a/frontend/src/styles.css
+++ b/frontend/src/styles.css
@@ -1468,57 +1468,6 @@ select {
gap: 10px;
}
-.home-identity-card {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 20px;
- border-color: var(--success);
- background: var(--surface);
-}
-
-.home-identity-content {
- display: flex;
- align-items: center;
- gap: 16px;
- min-width: 0;
-}
-
-.home-identity-copy {
- min-width: 0;
-}
-
-.home-identity-name {
- margin: 0 0 4px;
- color: var(--text);
- font-size: 16px;
- font-weight: 650;
-}
-
-.home-identity-copy .mono {
- display: inline-block;
- max-width: 100%;
- overflow: hidden;
- text-overflow: ellipsis;
- vertical-align: bottom;
-}
-
-.home-identity-copy .hint {
- max-width: 58ch;
- margin: 8px 0 0;
-}
-
-@media (max-width: 620px) {
- .home-identity-card {
- align-items: stretch;
- flex-direction: column;
- }
-
- .home-identity-card .btn {
- width: 100%;
- }
-}
-
.home-profile-row {
display: flex;
align-items: center;
diff --git a/frontend/src/test/HomeScreen.test.tsx b/frontend/src/test/HomeScreen.test.tsx
index a43e92d..9eec91b 100644
--- a/frontend/src/test/HomeScreen.test.tsx
+++ b/frontend/src/test/HomeScreen.test.tsx
@@ -23,11 +23,10 @@ describe('HomeScreen', () => {
const { onNavigate } = renderHome(backend);
renderWithApp();
- // Wait for the identity card to appear after state loads.
- const switchBtn = await screen.findByRole('button', { name: 'Switch profile' });
- const identityCard = switchBtn.closest('.home-identity-card') as HTMLElement;
- expect(within(identityCard).getByText('Alice')).toBeInTheDocument();
- expect(within(identityCard).getByText(/npub1alice\.\.\./)).toBeInTheDocument();
+ // The active profile appears in the profile list with its shortened npub.
+ const profileList = await screen.findByRole('listbox');
+ expect(within(profileList).getByText('Alice')).toBeInTheDocument();
+ expect(within(profileList).getByText(/npub1alice\.\.\./)).toBeInTheDocument();
const compose = screen.getByRole('button', { name: 'Compose' });
await userEvent.setup().click(compose);