socket implementation and multiplayer feature added in frontend
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { createContext } from "react";
|
||||
|
||||
const AuthContext = createContext();
|
||||
|
||||
import React from 'react'
|
||||
|
||||
const AuthContextProvider = ({ children }) => {
|
||||
return (
|
||||
<AuthContext.Provider value={{
|
||||
|
||||
}}>
|
||||
{children}
|
||||
</AuthContext.Provider>
|
||||
)
|
||||
}
|
||||
|
||||
export default auth - context
|
||||
Reference in New Issue
Block a user