mirror of
https://github.com/fosrl/pangolin.git
synced 2025-07-12 15:04:53 +02:00
8 lines
190 B
TypeScript
8 lines
190 B
TypeScript
|
import { UserContext } from "@app/contexts/userContext";
|
||
|
import { useContext } from "react";
|
||
|
|
||
|
export function useUserContext() {
|
||
|
const user = useContext(UserContext);
|
||
|
return user;
|
||
|
}
|