mirror of
https://github.com/umami-software/umami.git
synced 2026-02-15 01:55:36 +01:00
Updated query hooks for teams and websites.
This commit is contained in:
parent
9448aa3ab5
commit
2fa50892d8
61 changed files with 508 additions and 539 deletions
|
|
@ -1,12 +1,11 @@
|
|||
'use client';
|
||||
import { usePathname } from 'next/navigation';
|
||||
import { useUser } from 'components/hooks';
|
||||
import { useMessages } from 'components/hooks';
|
||||
import { useLogin, useMessages } from 'components/hooks';
|
||||
import SideNav from 'components/layout/SideNav';
|
||||
import styles from './layout.module.css';
|
||||
|
||||
export default function SettingsLayout({ children }) {
|
||||
const { user } = useUser();
|
||||
const { user } = useLogin();
|
||||
const pathname = usePathname();
|
||||
const { formatMessage, labels } = useMessages();
|
||||
const cloudMode = !!process.env.cloudMode;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue