mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-31 15:08:53 +02:00
Prefetch user (#429)
This commit is contained in:
parent
37f777cace
commit
249376c43e
20 changed files with 220 additions and 181 deletions
|
@ -12,10 +12,10 @@ import { trpc } from "../utils/trpc";
|
|||
import { EmptyState } from "./empty-state";
|
||||
import LoginForm from "./login-form";
|
||||
import { UserDetails } from "./profile/user-details";
|
||||
import { useSession } from "./session";
|
||||
import { useUser } from "./user-provider";
|
||||
|
||||
export const Profile: React.VoidFunctionComponent = () => {
|
||||
const { user } = useSession();
|
||||
const { user } = useUser();
|
||||
const { dayjs } = useDayjs();
|
||||
|
||||
const { t } = useTranslation("app");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue