Skip to content

Commit 31892ed

Browse files
committed
tidy account button fade state
1 parent ec836ee commit 31892ed

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

e2e/home.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ test("homepage account button stays hidden while signed-in profile state loads",
142142
await profileRequestStarted;
143143

144144
try {
145-
await expect(page.getByTestId("account-button-loading")).toHaveCount(0);
146145
await expect(page.getByTestId("account-button-profile")).toHaveCount(0);
147146
await expect(page.getByTestId("account-button-sign-in")).toHaveCount(0);
148147
} finally {

src/components/AccountButton/AccountButton.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ const FadingAccountButton = styled(Button)<{ $visible: boolean }>`
7878
transition: opacity 160ms ease-out;
7979
8080
@media (prefers-reduced-motion: reduce) {
81-
opacity: 1;
82-
pointer-events: auto;
8381
transition: none;
8482
}
8583
`;

0 commit comments

Comments
 (0)