diff --git a/web/src/common/components/VersionText.tsx b/web/src/common/components/VersionText.tsx index 829e8f05..3e14da88 100644 --- a/web/src/common/components/VersionText.tsx +++ b/web/src/common/components/VersionText.tsx @@ -35,23 +35,21 @@ const useCommitInfo = () => { return commitInfo } -export const VersionText = (): JSX.Element => { +export const VersionText = () => { const commitInfo = useCommitInfo() return (

Version:{' '} - {commitInfo.hash !== '' && commitInfo.date !== '' && ( - <> - - {commitInfo.refs === '' ? commitInfo.hash : commitInfo.refs} - {' '} - ({commitInfo.date}) - - )} + <> + + {commitInfo.refs === '' ? commitInfo.hash : commitInfo.refs} + {' '} + {commitInfo.date} +

) }