version_number
This commit is contained in:
parent
d7c80ebdb4
commit
6738912575
|
@ -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(() => {
|
||||
|
|
Loading…
Reference in New Issue