5 lines
176 B
JavaScript
5 lines
176 B
JavaScript
|
|
import { useContext } from 'react';
|
||
|
|
import { WebSocketContext } from '../../contexts/WebSocketContext';
|
||
|
|
|
||
|
|
export const useWebSocketContext = () => useContext(WebSocketContext);
|