import { createContext } from "react";

const global = {
  chatId: undefined,
  ws: undefined,
  name: "",
  chat: []
};

const GlobalContext = createContext(global);

export { GlobalContext, global };