ability to remove user from org

This commit is contained in:
Milo Schwartz
2024-11-03 17:28:12 -05:00
parent 2852d62258
commit fadfaf1f0b
28 changed files with 718 additions and 264 deletions

View File

@@ -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;