MCPcopy Create free account
hub / github.com/cartesiancs/map3d / checkFleetLogin

Function checkFleetLogin

src/ui/App.tsx:99–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97 };
98
99 const checkFleetLogin = () => {
100 try {
101 const isCookie = getCookie("token");
102 if (isCookie) {
103 setIsFleetLogin(true);
104 }
105 } catch (error) {}
106 };
107
108 const handleDone = (data) => {
109 setAreaData(data);

Callers 1

AppFunction · 0.85

Calls 1

getCookieFunction · 0.90

Tested by

no test coverage detected