MCPcopy Create free account
hub / github.com/LevelUpWeb3/app / fetchRes

Function fetchRes

src/hooks/useAsyncMemo.tsx:18–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16 prevDependencies.current = deps;
17
18 const fetchRes = async () => {
19 const _res = await factory();
20 setRes(_res);
21 };
22
23 fetchRes();
24 }, [deps]);

Callers 1

useAsyncMemoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected