From 4998168e6ec9d998d0ca732ea49739b4fba929b0 Mon Sep 17 00:00:00 2001 From: Ayoub Agoumi Date: Sun, 24 Sep 2023 19:18:42 +0100 Subject: [PATCH] feat: display commit hash tooltip for every deployment (#165) (#166) Co-authored-by: Mohamed Elmoslemany <117270519+mo-c4t@users.noreply.github.com> --- src/components/Footer/index.tsx | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/src/components/Footer/index.tsx b/src/components/Footer/index.tsx index 8e8aa273..abe2b126 100644 --- a/src/components/Footer/index.tsx +++ b/src/components/Footer/index.tsx @@ -175,25 +175,21 @@ export default function Footer() { justifyContent: { xs: 'center', md: 'flex-end' }, }} > - {process.env.NODE_ENV === 'development' ? ( - } - placement="top" - PopperProps={{ - sx: { - '& .MuiTooltip-tooltip': { - maxWidth: '500px !important', - }, + } + placement="top" + PopperProps={{ + sx: { + '& .MuiTooltip-tooltip': { + maxWidth: '500px !important', }, - }} - > - - - ) : ( + }, + }} + > - )} +