| 14 | } |
| 15 | |
| 16 | interface AppHeaderProps { |
| 17 | authState?: AuthState; |
| 18 | getToken: TokenProvider; |
| 19 | onToggleMobileMenu?: () => void; |
| 20 | /** Lifted so the sidebar's logo button (PersistentSidebar) can open the same modal. */ |
| 21 | isPermissionsModalOpen: boolean; |
| 22 | onClosePermissionsModal: () => void; |
| 23 | /** Lifted so the sidebar's account button (PersistentSidebar) can open the same modal. */ |
| 24 | isAccountModalOpen: boolean; |
| 25 | onCloseAccountModal: () => void; |
| 26 | } |
| 27 | |
| 28 | const AppHeader: React.FC<AppHeaderProps> = ({ |
| 29 | authState, |
nothing calls this directly
no outgoing calls
no test coverage detected