mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-10 20:02:26 +00:00
ability to remove user from org
This commit is contained in:
@@ -4,13 +4,13 @@ import { UserContext } from "@app/contexts/userContext";
|
||||
import { GetUserResponse } from "@server/routers/user";
|
||||
import { ReactNode } from "react";
|
||||
|
||||
type LandingProviderProps = {
|
||||
type UserProviderProps = {
|
||||
user: GetUserResponse;
|
||||
children: ReactNode;
|
||||
};
|
||||
|
||||
export function LandingProvider({ user, children }: LandingProviderProps) {
|
||||
export function UserProvider({ user, children }: UserProviderProps) {
|
||||
return <UserContext.Provider value={user}>{children}</UserContext.Provider>;
|
||||
}
|
||||
|
||||
export default LandingProvider;
|
||||
export default UserProvider;
|
||||
Reference in New Issue
Block a user