removed useless props

This commit is contained in:
Elyor Djalilov 2024-07-02 12:24:54 +05:00
parent 2161fcf875
commit 892e092c3c

View File

@ -76,12 +76,8 @@ const DownLoadWrapper = styled.div`
const Sessions = ({
allSessions,
sessionsData,
dataFromSocket,
currentDataFromSocket,
displayName,
clearSelection,
updateAllSessions,
platformData,
selection,
bufferSelection,
@ -144,6 +140,8 @@ const Sessions = ({
? [bufferSelection.id, ...userIdsFromSelection]
: [...userIdsFromSelection];
console.log(allSessions);
if (!isSessionsLoaded) return <SessionsLoader viewAs={viewAs} />;
return (
@ -212,12 +210,8 @@ export default inject(({ settingsStore, setup, peopleStore }) => {
const { currentDeviceType } = settingsStore;
const {
allSessions,
sessionsData,
dataFromSocket,
currentDataFromSocket,
displayName,
clearSelection,
updateAllSessions,
platformData,
fetchData,
selection,
@ -244,12 +238,8 @@ export default inject(({ settingsStore, setup, peopleStore }) => {
return {
allSessions,
sessionsData,
dataFromSocket,
currentDataFromSocket,
displayName,
clearSelection,
updateAllSessions,
platformData,
selection,
bufferSelection,