Skip to content
Snippets Groups Projects
Context.js 274 B
Newer Older
  • Learn to ignore specific revisions
  • Hyun Woo Jeong's avatar
    Hyun Woo Jeong committed
    import { createContext } from 'react';
    
    
    const UserContext = createContext({
    
        IsloggedIn : false,
        UserName : "",
        LogIn : ()=>{},
        LogOut : ()=>{},
        CheckSession : ()=>{}
    
    });
    
    const LocationContext = createContext({
    
    });
    
    export {UserContext, LocationContext}