chore: lint

This commit is contained in:
karishmas6
2024-06-21 22:20:38 +05:30
parent 2d51a2a3eb
commit cb41be8115

View File

@@ -9,7 +9,7 @@ interface SocketState {
setId: (id: string) => void; setId: (id: string) => void;
}; };
class SocketStore implements Partial<SocketState>{ class SocketStore implements Partial<SocketState> {
socket = null; socket = null;
id = ''; id = '';
}; };
@@ -38,15 +38,15 @@ export const SocketProvider = ({ children }: { children: JSX.Element }) => {
setActiveId(id); setActiveId(id);
}, [setSocket]); }, [setSocket]);
return ( return (
<socketStoreContext.Provider <socketStoreContext.Provider
value={{ value={{
socket, socket,
id, id,
setId, setId,
}} }}
> >
{children} {children}
</socketStoreContext.Provider> </socketStoreContext.Provider>
); );
}; };