version_number

This commit is contained in:
ahmed531998 2023-08-30 12:03:17 +02:00
parent d7c80ebdb4
commit 6738912575
1 changed files with 2 additions and 1 deletions

View File

@ -18,9 +18,10 @@ const ChatPage = () => {
const [err, setErr] = useState("");
const version = process.env.REACT_APP_VERSION_INFO;
console.log(REACT_APP_VERSION_INFO)
if (!version) {
console.info("No version information present at build time.");
}else{console.info('version: ${version}');}
}else{console.info(REACT_APP_VERSION_INFO);}
useEffect(() => {