/* global __APP_VERSION__, __GIT_COMMIT__, __GIT_COMMIT_URL__, __RELEASE_URL__ */ import React from 'react' const VersionFooter: React.FC = () => { return (
{typeof __RELEASE_URL__ !== 'undefined' && __RELEASE_URL__ ? ( Version {typeof __APP_VERSION__ !== 'undefined' ? __APP_VERSION__ : 'dev'} ) : ( `Version ${typeof __APP_VERSION__ !== 'undefined' ? __APP_VERSION__ : 'dev'}` )} {typeof __GIT_COMMIT__ !== 'undefined' && __GIT_COMMIT__ ? ( {' '}ยท{' '} {typeof __GIT_COMMIT_URL__ !== 'undefined' && __GIT_COMMIT_URL__ ? ( {__GIT_COMMIT__.slice(0, 7)} ) : ( {__GIT_COMMIT__.slice(0, 7)} )} ) : null}
) } export default VersionFooter