MCPcopy Index your code
hub / github.com/OpenSignLabs/OpenSign / initializeHead

Function initializeHead

apps/OpenSign/src/components/Header.jsx:54–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52
53
54 async function initializeHead() {
55 const applogo = await getAppLogo();
56 if (applogo?.logo) {
57 setAppLogo(applogo?.logo);
58 } else {
59 const logo = localStorage.getItem("appLogo") || appInfo.applogo;
60 setAppLogo(logo);
61 }
62 }
63 const handleLogout = async () => {
64 setIsOpen(false);
65 setIsLoggingOut(true);

Callers 1

HeaderFunction · 0.85

Calls 1

getAppLogoFunction · 0.90

Tested by

no test coverage detected