Skip to content

Commit

Permalink
fix sidebar git sha
Browse files Browse the repository at this point in the history
  • Loading branch information
kualta committed Aug 12, 2024
1 parent 1b69dad commit a852447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/menu/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export function Sidebar() {

const Links = () => {
const version = process.env.npm_package_version ?? "0.8";
const git = process.env.VERCEL_GIT_COMMIT_SHA ?? "0000000";
const git = process.env.VERCEL_GIT_COMMIT_SHA ?? process.env.SOURCE_COMMIT ?? "0000000";
const gitSliced = git.slice(0, 7);

return (
Expand Down

0 comments on commit a852447

Please sign in to comment.