👺 Fixed usage of context with sockets
This commit is contained in:
@@ -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({});
|
||||
|
||||
Reference in New Issue
Block a user