👺 Fixed usage of context with sockets

This commit is contained in:
2021-09-24 15:08:54 -07:00
parent 7615e1fe52
commit ca082b8220
7 changed files with 82 additions and 81 deletions

View File

@@ -1,10 +1,8 @@
import * as React from "react";
import React from "react";
import { render } from "react-dom";
import { Provider } from "react-redux";
import { ConnectedRouter } from "connected-react-router";
import WebSocketProvider, {
WebSocketContext,
} from "./context/socket/socket.context";
import WebSocketProvider from "./context/socket/socket.context";
import configureStore, { history } from "./store/index";
import App from "./components/App";
const store = configureStore({});