Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Openpanel-dev/openpanel
/ logout
Function
logout
apps/testbed/src/App.tsx:64–68 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
62
}
63
64
function logout() {
65
localStorage.removeItem(
'op_testbed_user'
);
66
op.clear();
67
setUser(null);
68
}
69
70
function addToCart(product: Product) {
71
setCart((prev) => {
Callers
nothing calls this directly
Calls
1
clear
Method · 0.45
Tested by
no test coverage detected