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

Function getStatusText

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

Source from the content-addressed store, hash-verified

97 };
98
99 const getStatusText = () => {
100 switch (updateStatus) {
101 case 'checking':
102 return t('about.checking');
103 case 'available':
104 return `${t('about.updateAvailable')} (v${newVersion})`;
105 case 'installing':
106 return t('about.installing');
107 case 'latest':
108 return t('about.latest');
109 case 'error':
110 return t('about.error');
111 default:
112 return '';
113 }
114 };
115
116 const handleOpenGithub = async () => {
117 try {

Callers 1

AboutDialogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected