mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-13 08:26:40 +00:00
pass user object to user context
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user