Skip to content

Commit

Permalink
AccountMenu: fix git timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
incognitojam committed Jul 26, 2023
1 parent a15b373 commit 7fc4dad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AppHeader/AccountMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const AccountMenu = ({ profile, open, anchorEl, onClose, ...rest }) => {
useEffect(() => {
setVersion(import.meta.env.VITE_APP_GIT_SHA?.substring(0, 7) || 'dev');

const buildDate = import.meta.env.VITE_APP_BUILD_TIMESTAMP;
const buildDate = import.meta.env.VITE_APP_GIT_TIMESTAMP;
if (buildDate) {
setBuildTimestamp(`, ${dayjs(buildDate).fromNow()}`);
}
Expand Down

0 comments on commit 7fc4dad

Please sign in to comment.