MCPcopy Create free account
hub / github.com/esengine/esengine / fetchVersion

Function fetchVersion

packages/editor-app/src/components/AboutDialog.tsx:24–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22 useEffect(() => {
23 // Fetch version on mount
24 const fetchVersion = async () => {
25 try {
26 const currentVersion = await getVersion();
27 setVersion(currentVersion);
28 } catch (error) {
29 console.error('Failed to get version:', error);
30 }
31 };
32 fetchVersion();
33 }, []);
34

Callers 1

AboutDialogFunction · 0.85

Calls 1

errorMethod · 0.45

Tested by

no test coverage detected