This commit is contained in:
cv
2021-05-12 13:32:24 +02:00
parent f617963214
commit 9c3aa6d386
34 changed files with 135 additions and 236 deletions
+5 -5
View File
@@ -1,9 +1,9 @@
import { useEffect, useState } from 'react';
import { eventsNamespace, fetchAllEvents } from '../../app/api/eventsApi';
import { fetchEvent, eventNamespace } from '../../app/api/eventApi';
import { useSocket } from '../../app/context/socketContext';
import { stringFromMillis } from '../../common/dateConfig';
import { useFetch } from '../../app/hooks/useFetch';
import { eventsNamespace, fetchAllEvents } from 'app/api/eventsApi';
import { fetchEvent, eventNamespace } from 'app/api/eventApi';
import { useSocket } from 'app/context/socketContext';
import { stringFromMillis } from 'common/dateConfig';
import { useFetch } from 'app/hooks/useFetch';
const withSocket = (Component) => {
const WrappedComponent = (props) => {