parent
18f59cf0f9
commit
eb47356d10
@ -1,6 +1,6 @@
|
|||||||
import { useEffect } from "react";
|
import { useEffect } from "react";
|
||||||
import Socketio from ".";
|
import Socketio from ".";
|
||||||
import { log } from "../utilites/logger";
|
import { log } from "../../utilites/logger";
|
||||||
|
|
||||||
export function useSocketIOReducer(reducer: SocketIO.Reducer) {
|
export function useSocketIOReducer(reducer: SocketIO.Reducer) {
|
||||||
useEffect(() => {
|
useEffect(() => {
|
@ -1,7 +1,7 @@
|
|||||||
import { debounce, forIn, remove, uniq } from "lodash";
|
import { debounce, forIn, remove, uniq } from "lodash";
|
||||||
import { io, Socket } from "socket.io-client";
|
import { io, Socket } from "socket.io-client";
|
||||||
import { getBaseUrl } from "../utilites";
|
import { getBaseUrl } from "../../utilites";
|
||||||
import { conditionalLog, log } from "../utilites/logger";
|
import { conditionalLog, log } from "../../utilites/logger";
|
||||||
import { createDefaultReducer } from "./reducer";
|
import { createDefaultReducer } from "./reducer";
|
||||||
|
|
||||||
class SocketIOClient {
|
class SocketIOClient {
|
Loading…
Reference in new issue