radar/twist-v2

View on GitHub
frontend/src/CurrentUser/context.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import * as React from "react";

import { CurrentUserQuery } from "../graphql/types";

export type CurrentUserType = CurrentUserQuery["currentUser"];

export default React.createContext<CurrentUserType>(null);