mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-02 00:36:38 +00:00
16 lines
379 B
TypeScript
16 lines
379 B
TypeScript
"use client";
|
|
|
|
import { UserContext } from "@app/contexts/userContext";
|
|
import { ReactNode } from "react";
|
|
|
|
type LandingProviderProps = {
|
|
user: boolean ;
|
|
children: ReactNode;
|
|
};
|
|
|
|
export function LandingProvider({ user, children }: LandingProviderProps) {
|
|
return <UserContext.Provider value={user}>{children}</UserContext.Provider>;
|
|
}
|
|
|
|
export default LandingProvider;
|