refactor: remove SocketContext and related dependencies from OrdersTab and ProfilePage components for improved performance and code clarity

This commit is contained in:
sebseb7
2025-07-23 08:46:35 +02:00
parent 1c777f8daa
commit cee69c9a31
5 changed files with 6 additions and 28 deletions

View File

@@ -1,7 +0,0 @@
import React from 'react';
// Create a new context for Socket.IO
const SocketContext = React.createContext(null);
export const SocketConsumer = SocketContext.Consumer;
export default SocketContext;