1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-24 23:01:05 +03:00

Rename 'Emails' route to 'Profile' (#1567)

* rename /account/emails route to profile

* remove support for /emails

* bad unit test for Layout

* update snapshots, fix layout test

* fix snapshots from old version of compound

* better layout test

* coverage?
This commit is contained in:
Kerry
2023-08-25 17:10:34 +12:00
committed by GitHub
parent 70e6489f17
commit c7311eea79
15 changed files with 382 additions and 23 deletions

View File

@@ -43,7 +43,7 @@ const Layout: React.FC<{ children?: React.ReactNode }> = ({ children }) => {
<NavBar>
<NavItem route={{ type: "home" }}>Home</NavItem>
<NavItem route={{ type: "email-list" }}>Emails</NavItem>
<NavItem route={{ type: "profile" }}>Profile</NavItem>
</NavBar>
<main>{children}</main>