Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Bitbox-Connect/Bitbox
/ useAuth
Function
useAuth
client/src/contexts/authContext/index.jsx:8–10 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
6
const AuthContext = React.createContext();
7
8
export function useAuth() {
9
return useContext(AuthContext);
10
}
11
12
export function AuthProvider({ children }) {
13
const [currentUser, setCurrentUser] = useState(null);
Callers
5
Signup
Function · 0.90
Admin
Function · 0.90
Navbar
Function · 0.90
Login
Function · 0.90
LoginOTP
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected