mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 23:57:12 +01:00
More refactoring.
This commit is contained in:
parent
5f15ad0807
commit
02a1438cfe
41 changed files with 196 additions and 721 deletions
|
|
@ -12,7 +12,7 @@ import styles from './Header.module.css';
|
|||
import classNames from 'classnames';
|
||||
|
||||
export default function Header({ className }) {
|
||||
const user = useUser();
|
||||
const { user } = useUser();
|
||||
const { pathname } = useRouter();
|
||||
const { updatesDisabled, adminDisabled } = useConfig();
|
||||
const isSharePage = pathname.includes('/share/');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue