Update App.js

This commit is contained in:
analogpvt 2023-05-19 23:35:21 +05:30 committed by GitHub
parent 974420344e
commit beedfd1bb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,11 +52,11 @@ function App() {
process.env.REACT_APP_VERSION !== '' process.env.REACT_APP_VERSION !== ''
) { ) {
showNotice( showNotice(
`新版本可用:${data.version},请使用快捷键 Shift + F5 刷新页面` `A new version is available: ${data.version}, Please use the shortcut key Shift + F5 to refresh the page.`
); );
} }
} else { } else {
showError('无法正常连接至服务器'); showError('Unable to connect to the server.');
} }
}; };