1
0
peddlers-of-ketran/client/src/GlobalContext.js
James Ketrenos f6b2ada2ee Audio almost working; mic is doing the right thing
Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
2022-03-10 23:08:56 -08:00

12 lines
201 B
JavaScript

import { createContext } from "react";
const global = {
gameId: undefined,
ws: undefined,
name: "",
chat: []
};
const GlobalContext = createContext(global);
export { GlobalContext, global };