mirror of
https://github.com/umami-software/umami.git
synced 2026-02-17 02:55:38 +01:00
Updates to team components.
This commit is contained in:
parent
102f5b78b1
commit
dbb3801e66
28 changed files with 173 additions and 159 deletions
|
|
@ -1,6 +1,6 @@
|
|||
'use client';
|
||||
import { usePathname } from 'next/navigation';
|
||||
import { useLogin, useMessages, useTeamContext } from 'components/hooks';
|
||||
import { useLogin, useMessages, useTeamUrl } from 'components/hooks';
|
||||
import SideNav from 'components/layout/SideNav';
|
||||
import styles from './layout.module.css';
|
||||
|
||||
|
|
@ -9,7 +9,7 @@ export default function SettingsLayout({ children }) {
|
|||
const pathname = usePathname();
|
||||
const { formatMessage, labels } = useMessages();
|
||||
const cloudMode = !!process.env.cloudMode;
|
||||
const { teamId, renderTeamUrl } = useTeamContext();
|
||||
const { teamId, renderTeamUrl } = useTeamUrl();
|
||||
|
||||
const items = [
|
||||
teamId && {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue