MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / goToAccount

Function goToAccount

apps/start/src/components/profile-toggle.tsx:29–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 const logout = useLogout();
28
29 const goToAccount = () => {
30 if (organizationId) {
31 router.navigate({
32 to: '/$organizationId/account',
33 params: { organizationId },
34 });
35 return;
36 }
37 router.navigate({ to: '/account' });
38 };
39
40 return (
41 <DropdownMenu>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected