Skip to content

Commit

Permalink
feat: display commit hash tooltip for every deployment (#165) (#166)
Browse files Browse the repository at this point in the history
Co-authored-by: Mohamed Elmoslemany <[email protected]>
  • Loading branch information
Ayagoumi and mo-c4t authored Sep 24, 2023
1 parent e031305 commit 4998168
Showing 1 changed file with 13 additions and 17 deletions.
30 changes: 13 additions & 17 deletions src/components/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,25 +175,21 @@ export default function Footer() {
justifyContent: { xs: 'center', md: 'flex-end' },
}}
>
{process.env.NODE_ENV === 'development' ? (
<Tooltip
TransitionComponent={Fade}
TransitionProps={{ timeout: 600 }}
title={<Version />}
placement="top"
PopperProps={{
sx: {
'& .MuiTooltip-tooltip': {
maxWidth: '500px !important',
},
<Tooltip
TransitionComponent={Fade}
TransitionProps={{ timeout: 600 }}
title={<Version />}
placement="top"
PopperProps={{
sx: {
'& .MuiTooltip-tooltip': {
maxWidth: '500px !important',
},
}}
>
<Icon path={mdiInformationOutline} size={0.85} />
</Tooltip>
) : (
},
}}
>
<Icon path={mdiInformationOutline} size={0.85} />
)}
</Tooltip>

<Link
rel="noopener noreferrer"
Expand Down

0 comments on commit 4998168

Please sign in to comment.