authentication with context

first u must create folder Route > hooks and then create file AuthContext.js

import { createContext } from "react";

const AuthContext = createContext();

export default AuthContext;

Last updated

Was this helpful?