import React, { useState, useContext } from "react";

export const LoggedInContext = React.createContext(false);

export const useLoggedIn = () => {
  return useContext(LoggedInContext);
};