refactor: remove SocketContext and related dependencies from OrdersTab and ProfilePage components for improved performance and code clarity
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user