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