mirror of
https://github.com/umami-software/umami.git
synced 2026-02-11 16:17:13 +01:00
Renamed query hooks. Fixed conversion bugs.
This commit is contained in:
parent
adca3c36d0
commit
7886c3f393
110 changed files with 423 additions and 489 deletions
|
|
@ -12,11 +12,11 @@ import {
|
|||
} from '@umami/react-zen';
|
||||
import { useRouter } from 'next/navigation';
|
||||
import { User, LogOut, CircleUserRound } from 'lucide-react';
|
||||
import { useMessages, useLogin } from '@/components/hooks';
|
||||
import { useMessages, useLoginQuery } from '@/components/hooks';
|
||||
|
||||
export function ProfileButton() {
|
||||
const { formatMessage, labels } = useMessages();
|
||||
const { user } = useLogin();
|
||||
const { user } = useLoginQuery();
|
||||
const router = useRouter();
|
||||
const cloudMode = !!process.env.cloudMode;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue