MCPcopy Create free account
hub / github.com/Web3Auth/Auth / printToConsole

Function printToConsole

examples/react-example/src/App.tsx:19–24  ·  view source on GitHub ↗
(...args: unknown[])

Source from the content-addressed store, hash-verified

17 const [loading, setLoading] = useState(false);
18
19 const printToConsole = (...args: unknown[]): void => {
20 const el = document.querySelector("#console>p");
21 if (el) {
22 el.innerHTML = JSON.stringify(args || {}, null, 2);
23 }
24 };
25
26 const printUserInfo = async () => {
27 const userInfo = auth.getUserInfo();

Callers 3

printUserInfoFunction · 0.85
getEd25519KeyFunction · 0.85
logoutFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected