diff --git a/src/context/socket.tsx b/src/context/socket.tsx index 93432014..678f5520 100644 --- a/src/context/socket.tsx +++ b/src/context/socket.tsx @@ -9,7 +9,7 @@ interface SocketState { setId: (id: string) => void; }; -class SocketStore implements Partial{ +class SocketStore implements Partial { socket = null; id = ''; }; @@ -38,15 +38,15 @@ export const SocketProvider = ({ children }: { children: JSX.Element }) => { setActiveId(id); }, [setSocket]); - return ( - - {children} - - ); + return ( + + {children} + + ); };