Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
vdegraaf committed May 6, 2024
1 parent 147166d commit d728905
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions apps/admin/docs/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@

- Log out
- Select the profile icon in the menu bar
- Click to logout button
- Will redirect to login form and session cookie is deleted
- Click on the logout button. This deletes the session cookie and redirects you to the login form

## Forms

Expand Down
7 changes: 3 additions & 4 deletions apps/admin/src/components/admin/Admin/CustomAppBar.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import { AppBar, UserMenu } from 'react-admin'
import { AppBar, TitlePortal } from 'react-admin'

import { LogoutButton } from './LogoutButton'

export const CustomAppBar = () => (
<AppBar>
<UserMenu>
<LogoutButton />
</UserMenu>
<TitlePortal />
<LogoutButton />
</AppBar>
)

0 comments on commit d728905

Please sign in to comment.