pass user object to user context

This commit is contained in:
Milo Schwartz
2024-10-12 21:30:35 -04:00
parent 61fca6a1f6
commit 41cbde1474
6 changed files with 23 additions and 12 deletions

View File

@@ -1,10 +1,11 @@
"use client";
import { UserContext } from "@app/contexts/userContext";
import { GetUserResponse } from "@server/routers/user";
import { ReactNode } from "react";
type LandingProviderProps = {
user: boolean ;
user: GetUserResponse;
children: ReactNode;
};