mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 23:27:12 +01:00
Updated teams button props.
This commit is contained in:
parent
b7083421e5
commit
01fe95a891
4 changed files with 65 additions and 80 deletions
|
|
@ -14,7 +14,7 @@ import styles from './NavBar.module.css';
|
|||
export function NavBar() {
|
||||
const { formatMessage, labels } = useMessages();
|
||||
const { pathname, router } = useNavigation();
|
||||
const { teamId, renderTeamUrl } = useTeamUrl();
|
||||
const { renderTeamUrl } = useTeamUrl();
|
||||
|
||||
const cloudMode = !!process.env.cloudMode;
|
||||
|
||||
|
|
@ -88,7 +88,7 @@ export function NavBar() {
|
|||
})}
|
||||
</div>
|
||||
<div className={styles.actions}>
|
||||
<TeamsButton teamId={teamId} onChange={handleTeamChange} />
|
||||
<TeamsButton onChange={handleTeamChange} />
|
||||
<ThemeButton />
|
||||
<LanguageButton />
|
||||
<ProfileButton />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue